Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: upgraded Gradle to 8.7.1 #187

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

larssn
Copy link
Contributor

@larssn larssn commented Oct 18, 2024

Since Flutter now defaults to Gradle 8, I've taken the liberty of upgrading Gradle to 8.7.1.

Also ran through all the Gradle settings, and brought them up to date with the standard from a vanilla platform plugin.
Removed the Kotlin dependencies, as they are not needed.

Changed the build targets to Java 8, as minSdk 26 requires this:

compileOptions {
    sourceCompatibility JavaVersion.VERSION_1_8
    targetCompatibility JavaVersion.VERSION_1_8
}

kotlinOptions {
    jvmTarget = "1.8"
}

This should result in "correct" bytecode, which is also why Flutter is doing this.

Finally did a succesful test on a physical Pixel 5.

Closes #186
(All workarounds can also be removed)

Removed redundant configuration
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.

Compilation issue after upgrading to Android Studio Ladybug | 2024.2.1
1 participant