Files
Jonas Acker df818dbf6f build(android): Gradle 9.3.1, AGP 9.1.0, Kotlin 2.4.0
Gradle 8.14 refuses to run on Java 25. Versions follow Flutter 3.47's
own template; the newDsl / builtInKotlin opt-outs are already set.

- kotlinOptions → kotlin { compilerOptions } in the app module.
- AGP 9 rejects proguard-android.txt: use the -optimize default with
  -dontoptimize, so R8 does exactly what it did before (the overlay's
  reflected OverlayService fields are still kept; checked in the APK).
- flutter_screen_recording 2.0.25 (no newer release) calls jcenter(),
  which Gradle 9 removed: vendored under packages/ with mavenCentral().
- Plugins still compiling against SDK 31 fail AGP 9's AAR metadata
  check: compile every library against 36 (targetSdk unchanged).

Debug and release APKs build on Java 25.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-06 10:19:06 +02:00
..