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

Update Android build config, compileSDK, AGP and Gradle versions #21

Merged
merged 4 commits into from
Apr 21, 2023

Conversation

vbuberen
Copy link
Contributor

@vbuberen vbuberen commented Apr 20, 2023

This PR updates the build config and does some other minor updates to modernise the setup.

The reason for that is that 3.5.0 of Android Gradle plugin (AGP) is really old as of today and soon there might be issues with building the project, like it currently is if some project tries to use latest Kotlin versions with some 3.x AGP.

Initially I wanted to update the project to use the latest Android Gradle plugin 8 and Gradle wrapper 8, but at the moment there are some issues with project sync on the latest stable Flutter (3.7.11). Thus, I moved to the latest versions before.
UPD: With 3.7.12 release of Flutter I could update to Gradle 8 as it is mentioned in release notes: https://github.com/flutter/flutter/wiki/Hotfixes-to-the-Stable-Channel#3712-apr-19-2023

Changes:

  • Bumped AGP version to 8.0.0 for both the plugin and example app.
  • Updated Gradle wrapper version to 8.0.2 for both the plugin and example app.
  • Bumped compileSDK to 33.
  • Added namespace property to build.gradle files for compatibility with Gradle 8.
  • Bumped Java to 17 in compile options to use the latest tooling and compatibility with Gradle 8.
  • Dropped enableJetifier as project uses no support libraries and this property slows down builds.
  • Did minor code cleanup with removing some deprecated properties and formatting.

P.S. Thanks for this useful package.

@ajinasokan
Copy link
Owner

Awesome! I will check it out in the evening.

@ajinasokan
Copy link
Owner

Available in v0.6.0

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.

None yet

2 participants