From 17bd46ccc4078a5a5d17077415d72bc09258e1fe Mon Sep 17 00:00:00 2001 From: Nelson Osacky Date: Tue, 8 Sep 2026 09:41:32 +0200 Subject: [PATCH] build: Bump AGP to 9.4.0 Raise the default Android Gradle Plugin from 9.2.1 to 9.4.0, the latest stable release, and move the pinned lint version with it so lint keeps matching the plugin it ships alongside. Refresh the AGP compatibility matrix to 9.0.0/9.2.1/9.4.0. The minimum supported 9.0.0 and the new default stay covered; 9.1.1 gives way to the previous default 9.2.1 to keep the matrix at three jobs. Co-Authored-By: Claude Opus 5 (1M context) --- .github/workflows/agp-matrix.yml | 2 +- buildSrc/src/main/java/Config.kt | 2 +- gradle.properties | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/agp-matrix.yml b/.github/workflows/agp-matrix.yml index c8585076f1b..d846d0a041b 100644 --- a/.github/workflows/agp-matrix.yml +++ b/.github/workflows/agp-matrix.yml @@ -17,7 +17,7 @@ jobs: strategy: fail-fast: false matrix: - agp: [ '9.0.0', '9.1.1', '9.2.1' ] + agp: [ '9.0.0', '9.2.1', '9.4.0' ] integrations: [ true, false ] name: AGP Matrix Release - AGP ${{ matrix.agp }} - Integrations ${{ matrix.integrations }} diff --git a/buildSrc/src/main/java/Config.kt b/buildSrc/src/main/java/Config.kt index 09d2869988b..52d7684620d 100644 --- a/buildSrc/src/main/java/Config.kt +++ b/buildSrc/src/main/java/Config.kt @@ -1,6 +1,6 @@ object Config { - val AGP = System.getenv("VERSION_AGP") ?: "9.2.1" + val AGP = System.getenv("VERSION_AGP") ?: "9.4.0" val kotlinStdLib = "stdlib-jdk8" val kotlinStdLibVersionAndroid = "1.9.24" val kotlinTestJunit = "test-junit" diff --git a/gradle.properties b/gradle.properties index cdadce81e20..c919ff5335c 100644 --- a/gradle.properties +++ b/gradle.properties @@ -13,7 +13,7 @@ android.useAndroidX=true # AGP 9+ migration opt-outs until we remove kotlin-android plugin and adopt built-in Kotlin. android.builtInKotlin=false android.newDsl=false -android.experimental.lint.version=9.2.1 +android.experimental.lint.version=9.4.0 # Release information versionName=8.55.0