Skip to content

fix: upgrade Android build toolchain for Flutter 3.44 compatibility#191

Open
theofrclt wants to merge 5 commits into
abner:masterfrom
theofrclt:master
Open

fix: upgrade Android build toolchain for Flutter 3.44 compatibility#191
theofrclt wants to merge 5 commits into
abner:masterfrom
theofrclt:master

Conversation

@theofrclt
Copy link
Copy Markdown

Flutter 3.44 ships with Kotlin Gradle Plugin 2.x, which deprecates the old
kotlinOptions DSL inside the android block and requires the new top-level
kotlin { compilerOptions { ... } } syntax. Without this change, projects
depending on this plugin fail to compile.

  • Remove deprecated apply plugin: 'kotlin-android' and kotlinOptions block
  • Add compileOptions targeting Java 17
  • Add kotlin { compilerOptions { jvmTarget = JVM_17 } } (KGP 2.x syntax)
  • Upgrade Gradle wrapper 7.4.2 → 8.14.4
  • Bump minimum Flutter SDK constraint to >=3.24.0

theofrclt and others added 5 commits May 28, 2026 20:15
- Bump Flutter SDK constraint to >=3.24.0 in pubspec.yaml.
- Upgrade Gradle wrapper to 8.14.4.
- Update Android compileOptions and Kotlin compilerOptions to target JVM 17.
Upgrade Flutter SDK, Gradle wrapper, and Android build toolchain to support Flutter 3.44.
fix: upgrade Android build toolchain for Flutter 3.44 compatibility
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