Skip to content

chore: [ANDROSDK-2375] update Gradle 9.5.0, AGP 9.3.1 and Kotlin 2.4.10 - #2694

Draft
vgarciabnz wants to merge 3 commits into
developfrom
ANDROSDK-2375
Draft

chore: [ANDROSDK-2375] update Gradle 9.5.0, AGP 9.3.1 and Kotlin 2.4.10#2694
vgarciabnz wants to merge 3 commits into
developfrom
ANDROSDK-2375

Conversation

@vgarciabnz

@vgarciabnz vgarciabnz commented Aug 7, 2026

Copy link
Copy Markdown
Member

Bumps Gradle to 9.5.0, AGP to 9.3.1, Kotlin to 2.4.10, and KSP to 2.3.11 (matching Kotlin 2.4.x compatibility fixes). Migrates core and instrumented-test-app off the standalone kotlin-android plugin to AGP 9's built-in Kotlin support, fixes a sourceSets DSL inconsistency in core/build.gradle.kts that crashed under AGP 9's stricter source-set model, and resolves a generated resources directory eagerly since AGP 9 no longer accepts a lazy Provider there.

The plugin "binary-compatibility-validator" is no longer compatible with AGP9 because the way it is hooked into the gradle tasks. As a replacement, the built-in Kotlin plugin has been enabled, although a known issue make it not work correctly. There is third-party plugin that creates the bridge until a proper solution for Android libraries is in place.

Verified locally: configuration, :core:compileDebugKotlin, :core:assembleDebug, and :core:testDebugUnitTest all pass.

Related task: ANDROSDK-2375

@vgarciabnz
vgarciabnz marked this pull request as draft August 7, 2026 10:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant