Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to AGP 8.7 stable and 8.8 alpha04 #1275

Merged
merged 1 commit into from
Oct 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -20,24 +20,25 @@ abstract class AbstractAndroidSpec extends AbstractFunctionalSpec {
protected static final AGP_8_3 = AgpVersion.version('8.3.2')
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.0')
protected static final AGP_8_7 = AgpVersion.version('8.7.0-alpha09')
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_LATEST = AGP_8_7
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_6} represents the maximum stable
* _tested_ version. We also test against the latest alpha, {@code AGP_8_7} at time of writing. DAGP may work with
* {@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
* 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_6,
AGP_8_7,
AGP_8_8,
]

protected static List<AgpVersion> agpVersions(AgpVersion minAgpVersion = AgpVersion.AGP_MIN) {
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.6.0")
@JvmStatic val AGP_MAX = version("8.7.0")

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