Skip to content

Commit

Permalink
chore: update to AGP 8.8.0 (#1350)
Browse files Browse the repository at this point in the history
This updates the project to:
- AGP 8.8.0 (latest feature release).
- AGP 8.7.3 (latest bugfix release).
  • Loading branch information
MGaetan89 authored Jan 12, 2025
1 parent 7b2449b commit 6df0bfa
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
3 changes: 1 addition & 2 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ kotlinMetadata = "2.0.21"
kotlineditor-core = "0.18"
kotlineditor-relocated = "0.18.0"

kotlinx-metadata = "0.9.0"
moshi = "1.15.1"
moshix = "0.25.1"
okhttp = "4.12.0"
Expand All @@ -43,7 +42,7 @@ commons-io = { module = "commons-io:commons-io", version.ref = "commons-io" }
errorProne = { module = "com.google.errorprone:error_prone_annotations", version.ref = "error-prone" }
gradle-publish-plugin = { module = "com.gradle.plugin-publish:com.gradle.plugin-publish.gradle.plugin", version.ref = "gradle-publish-plugin" }
grammar = { module = "com.autonomousapps:gradle-script-grammar", version.ref = "grammar" }
guava = { module ="com.google.guava:guava", version.ref = "guava" }
guava = { module = "com.google.guava:guava", version.ref = "guava" }

javax-inject = "javax.inject:javax.inject:1"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,23 +21,22 @@ abstract class AbstractAndroidSpec extends AbstractFunctionalSpec {
protected static final AGP_8_4 = AgpVersion.version('8.4.2')
protected static final AGP_8_5 = AgpVersion.version('8.5.2')
protected static final AGP_8_6 = AgpVersion.version('8.6.1')
protected static final AGP_8_7 = AgpVersion.version('8.7.0')
protected static final AGP_8_8 = AgpVersion.version('8.8.0-alpha04')
protected static final AGP_8_7 = AgpVersion.version('8.7.3')
protected static final AGP_8_8 = AgpVersion.version('8.8.0')

protected static final AGP_LATEST = AGP_8_8

/**
* TODO(tsr): this doc is perpetually out of date.
*
* {@code AGP_8_0} represents the minimum stable _tested_ version. {@code AGP_8_7} represents the maximum stable
* _tested_ version. We also test against the latest alpha, {@code AGP_8_8} at time of writing. DAGP may work with
* {@code AGP_8_0} represents the minimum stable _tested_ version. {@code AGP_8_8} represents the maximum stable
* _tested_ version. DAGP may work with
* other versions of AGP, but they aren't tested, primarily for CI performance reasons.
*
* @see <a href="https://maven.google.com/web/index.html?#com.android.tools.build:gradle">AGP releases</a>
*/
protected static final SUPPORTED_AGP_VERSIONS = [
AGP_8_0,
AGP_8_7,
AGP_8_8,
]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ internal class AgpVersion private constructor(val version: String) : Comparable<
companion object {

@JvmStatic val AGP_MIN = version("8.0.0")
@JvmStatic val AGP_MAX = version("8.7.0")
@JvmStatic val AGP_MAX = version("8.8.0")

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

0 comments on commit 6df0bfa

Please sign in to comment.