Skip to content

Align Android app module to Java 17 for plugin/toolchain compatibility #207

Description

@Specter242

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions