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
GrishMahat added a commit to GrishMahat/flutter_js that referenced this pull request Aug 20, 2026
… upstream PRs 191+193

- Replace prebuilt/jitpack QuickJS 2021 engine with vendored quickjs-ng
  0.14.0 built via CMake on Android/Linux/Windows; prebuilt dylib on macOS
- Keep JSC bindings for ABI but always run QuickJsRuntime2
- Rewrite platform plugins as stubs; drop dead FlutterJs channel engine
- Apply PR abner#191: drop apply plugin kotlin-android, Java 17 + kotlin
  compilerOptions DSL, Gradle wrapper 8.14.4, Flutter >=3.24.0
- Apply PR abner#193: _parseJSException typed as final
- Untrack pubspec.lock; add personal-fork notice to README
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