Update Android build config, compileSDK, AGP and Gradle versions #21
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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-2023Changes:
namespace
property to build.gradle files for compatibility with Gradle 8.enableJetifier
as project uses no support libraries and this property slows down builds.P.S. Thanks for this useful package.