Releases: bell345/rust-android-gradle
Releases · bell345/rust-android-gradle
v0.10.0
GitHub Actions
- Deprecated uses of "set-output" have been fixed
- Java SDK version has been set to 21
Documentation
- Motivation for the fork has been added to README.md.
- Instructions written for the Groovy DSL have been replaced with modern Kotlin DSL.
- A table of supported targets is provided that provides both the Rust target name and the corresponding plugin target side by side.
- "org.mozilla.rust-android-gradle.rust-android" is replaced with "me.sigptr.rust-android"
Implementation
- All instances of the Groovy DSL have been replaced with modern Kotlin DSL implementations.
- Introduced a version catalog
- Gradle wrapper updated to 8.10
- Usage of lazy Gradle
PropertyAPIs wherever appropriate - Deprecated usages of the Gradle API have been replaced
- Reimplemented the
VersionNumberAPI in Kotlin to prepare for its removal in Gradle 9.0 - Usage of Groovy has been eliminated
Tests
- Replaced Groovy tests with equivalent Kotlin Kotest versions
- Updated the
SimpleAndroidAppbuild script templates to fit modern practice
Samples
- Updated samples to use modern Kotlin DSL
Breaking Changes
I was unable to get the modernised project to test properly on AGP versions lower than 8.6.1, so this means that the plugin is only supported for AGP >= 8.6.1 and Gradle >= 8.7. There was an attempt to use older APIs in places where the newer APIs wouldn't have existed yet, but the tests are failing for random, unknown reasons and I'm not going to try to fix them right now.