ajinasokan / flutter_displaymode

A Flutter plugin to set display mode in Android
MIT License
184 stars 22 forks source link

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

Closed vbuberen closed 1 year ago

vbuberen commented 1 year ago

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:

P.S. Thanks for this useful package.

ajinasokan commented 1 year ago

Awesome! I will check it out in the evening.

ajinasokan commented 1 year ago

Available in v0.6.0