From bd79b521c9c113236f7b26b16e496a8135c0397d Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 24 Aug 2026 06:00:33 +0000 Subject: [PATCH 1/2] Update androidGradlePlugin to v9.3.2 --- gradle/libs.versions.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 38f517ee2c..e4d7d3d2b9 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -1,6 +1,6 @@ [versions] android = "4.1.1.4" -androidGradlePlugin = "9.2.1" +androidGradlePlugin = "9.3.2" asm = "9.10.1" checkerQual = "4.2.2" coroutines = "1.11.0" From 839a846ccf063e26c25a5c219f1b79f77cd808cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Quenaudon?= Date: Mon, 24 Aug 2026 07:59:45 +0100 Subject: [PATCH 2/2] Accept AGP Java 17 metadata on the compile classpath MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit AGP 9.3.2 publishes Gradle module metadata that declares Java 17. This module keeps Java 11 bytecode for its consumers, and AGP is compileOnly. Relax the TargetJvmVersion attribute on compileClasspath so variant matching accepts AGP again. Co-authored-by: Benoît Quenaudon Signed-off-by: Benoît Quenaudon --- wire-gradle-plugin/build.gradle.kts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/wire-gradle-plugin/build.gradle.kts b/wire-gradle-plugin/build.gradle.kts index e0842a87fe..46cf541e0f 100644 --- a/wire-gradle-plugin/build.gradle.kts +++ b/wire-gradle-plugin/build.gradle.kts @@ -1,3 +1,4 @@ +import org.gradle.api.attributes.java.TargetJvmVersion import org.jetbrains.kotlin.gradle.dsl.JvmTarget import org.jetbrains.kotlin.gradle.tasks.KotlinJvmCompile @@ -111,3 +112,11 @@ tasks.withType().configureEach { ) } } + +// AGP 9.3+ publishes its artifacts with Java 17 metadata. AGP is compileOnly here and this module +// keeps Java 11 bytecode for its consumers, so only relax the resolution attribute. +configurations.named("compileClasspath") { + attributes { + attribute(TargetJvmVersion.TARGET_JVM_VERSION_ATTRIBUTE, 17) + } +}