Skip to content

Commit

Permalink
Update 'known good AGP versions' logging.
Browse files Browse the repository at this point in the history
  • Loading branch information
autonomousapps committed Sep 30, 2023
1 parent 9bccde7 commit fcbb6c9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,6 @@ abstract class AbstractAndroidSpec extends AbstractFunctionalSpec {
}
}

protected static final AGP_4_2 = AgpVersion.version('4.2.2')
protected static final AGP_7_0 = AgpVersion.version('7.0.4')
protected static final AGP_7_1 = AgpVersion.version('7.1.3')
protected static final AGP_7_2 = AgpVersion.version('7.2.2')
protected static final AGP_7_3 = AgpVersion.version('7.3.1')
protected static final AGP_7_4 = AgpVersion.version('7.4.2')
protected static final AGP_8_0 = AgpVersion.version('8.0.2')
Expand All @@ -39,11 +35,6 @@ abstract class AbstractAndroidSpec extends AbstractFunctionalSpec {
* @see <a href="https://maven.google.com/web/index.html?q=build#com.android.tools.build:gradle">AGP releases</a>
*/
protected static final SUPPORTED_AGP_VERSIONS = [
// AGP_4_2,
// AGP_7_0,
// AGP_7_1,
// AGP_7_2,
// AGP_7_3,
AGP_7_4,
// AGP_8_0,
AGP_8_1,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ internal class AgpVersion private constructor(val version: String) : Comparable<

companion object {

@JvmStatic val AGP_MIN = version("4.2.2")
@JvmStatic val AGP_MAX = version("8.1.0")
@JvmStatic val AGP_MIN = version("7.4.2")
@JvmStatic val AGP_MAX = version("8.2.0-alpha16")

@JvmStatic fun current(): AgpVersion = AgpVersion(agpVersion())
@JvmStatic fun version(version: String): AgpVersion = AgpVersion(version)
Expand Down

0 comments on commit fcbb6c9

Please sign in to comment.