Problem
main currently pins Android app module compile options to Java/Kotlin 11, while dependency versions are moving forward (for example package_info_plus 9.x and newer wakelock_plus). This can create avoidable Gradle/toolchain friction for contributors and CI.
Proposed change
- Set
android/app/build.gradle.kts to Java 17 (sourceCompatibility, targetCompatibility, kotlinOptions.jvmTarget).
- Update
wakelock_plus in pubspec.yaml from ^1.2.8 to ^1.4.0.
Scope
- Small maintenance-only update.
- No runtime feature behavior changes expected.
Validation
flutter build apk --debug --no-pub succeeds with the above changes.
Follow-up PR
A focused PR from origin/main references this issue and contains only the two-file toolchain/dependency alignment.
Problem
maincurrently pins Android app module compile options to Java/Kotlin 11, while dependency versions are moving forward (for examplepackage_info_plus9.x and newerwakelock_plus). This can create avoidable Gradle/toolchain friction for contributors and CI.Proposed change
android/app/build.gradle.ktsto Java 17 (sourceCompatibility,targetCompatibility,kotlinOptions.jvmTarget).wakelock_plusinpubspec.yamlfrom^1.2.8to^1.4.0.Scope
Validation
flutter build apk --debug --no-pubsucceeds with the above changes.Follow-up PR
A focused PR from
origin/mainreferences this issue and contains only the two-file toolchain/dependency alignment.