Skip to content

chore: upgrade demo Android build to Gradle 9.3.1, AGP 9.1.0, Kotlin 2.4.0 - #1193

Merged
fadi-george merged 2 commits into
mainfrom
fadi/upgrade-demo-gradle
Oct 21, 2026
Merged

fadi-george merged 2 commits into
mainfrom
fadi/upgrade-demo-gradle

Conversation

@fadi-george

Copy link
Copy Markdown
Collaborator

One Line Summary

Upgrade the demo apps' Android build to Gradle 9.3.1, AGP 9.1.0, and Kotlin 2.4.0 to match the Flutter 3.47 app template.

Motivation

Flutter warns that support for Gradle 8.14 will soon be dropped. These are the template defaults in Flutter 3.47.7's gradle_utils.dart.

Scope

Demo apps only (examples/demo, examples/demo-pods). No SDK or plugin changes.

  • Gradle 8.14 to 9.3.1, AGP 8.11.1 to 9.1.0, Kotlin 2.2.20 to 2.4.0
  • Drop the kotlin-android plugin and move jvmTarget to kotlin { compilerOptions }, per the template
  • demo-pods: add android.newDsl=false and android.builtInKotlin=false (demo already had them)
  • demo-pods: analyzer excludes added by Flutter's analysis options migration

Testing

  • flutter build apk --debug passes for both demos with no Gradle/AGP/Kotlin version warnings

Affected code checklist

  • Notifications
  • In-App Messaging
  • User / Subscriptions
  • Location
  • Demo app build config

Checklist

  • All changes are related to this PR
  • Builds pass locally

🤖 Generated with Claude Code

… 2.4.0

Flutter warns that support for Gradle 8.14 and AGP 8.11 will be dropped.
Matches the Flutter 3.47 app template: drop the kotlin-android plugin from
the app module and move jvmTarget to kotlin.compilerOptions.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@fadi-george
fadi-george requested a review from a team as a code owner October 20, 2026 22:14
@fadi-george
fadi-george merged commit 55ff979 into main Oct 21, 2026
5 checks passed
@fadi-george
fadi-george deleted the fadi/upgrade-demo-gradle branch October 21, 2026 00:50
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