Skip to content

Bump Gradle, AGP, and Kotlin to satisfy current Flutter minimums - #136

Merged
iakdis merged 1 commit into
iakdis:masterfrom
AlexanderWalls:chore/bump-gradle-agp-kotlin
Sep 25, 2026
Merged

iakdis merged 1 commit into
iakdis:masterfrom
AlexanderWalls:chore/bump-gradle-agp-kotlin

Conversation

@AlexanderWalls

Copy link
Copy Markdown
Contributor

Summary

  • `flutter run` currently fails outright on a fresh, current stable Flutter install with three sequential minimum-version errors:
    • Gradle 8.12 is below Flutter's minimum of 8.14
    • Android Gradle Plugin 8.9.1 is below Flutter's minimum of 8.11.1
    • Kotlin 2.1.0 is below Flutter's minimum of 2.2.20
  • Bumps all three so the project builds against current stable Flutter. No app source changes.
  • `android/gradle.properties` picks up two flags (`android.builtInKotlin=false`, `android.newDsl=false`) added automatically by Flutter's build migrator when building against the newer AGP/Kotlin versions.

Test plan

  • `flutter pub get && flutter analyze` clean
  • `flutter run` builds and installs successfully on a physical Android device

flutter run failed outright on a current stable Flutter install:
Gradle 8.12 is below Flutter's minimum of 8.14, the Android Gradle Plugin
8.9.1 is below its minimum of 8.11.1, and Kotlin 2.1.0 is below its minimum
of 2.2.20. Bumping all three so the project builds against current stable
Flutter without any source changes required.
@iakdis
iakdis merged commit 5df2b46 into iakdis:master Sep 25, 2026
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.

2 participants