You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
build: AGP 8.13.2 + R8 9.1.43, and drop Gradle syntax deprecated for 9.0/10.0 (#2050)
* build: drop Gradle syntax deprecated for 9.0/10.0
- Assign DSL properties with `prop = value` instead of the Groovy
space-assignment form (namespace, ndkVersion, cmake version/path,
signingConfig, description, standardOutput/errorOutput,
ignoreExitValue).
- Replace the gradle.useLogger() failure logger with a BuildService
listening for task completion events; it prints the same styled
failure summary at the end of the build and still skips failures of
BuildToolTask tasks, which log their own errors.
- Run the SBG AST test builds with `-p` instead of `-b`: the
static-binding-generator settings.gradle now selects runtests.gradle
as its build file, and runtests.gradle uses mainClass instead of main.
* build: AGP 8.13.2 with R8 9.1.43 so D8 can read Kotlin 2.4 metadata
The Kotlin version moved to 2.4.10 while AGP stayed on 8.12.1, whose bundled
R8 (8.12.14) predates Kotlin 2.4 metadata. Every dex step then logs
"An error occurred when parsing kotlin metadata" once per Kotlin stdlib class,
about a thousand lines per build. Kotlin 2.4 needs R8 9.1.29 or newer, which
no 8.x AGP bundles, so R8 is pinned on the buildscript classpath the way the
AGP/Kotlin compatibility docs describe, and AGP moves to the last 8.x release.
Both are overridable per project like the existing versions.
0 commit comments