0.24.0-RC
Pre-releaseNew: Move proguard rule generation to a standalone KSP processor.
This is necessary in order to support both K2 and avoid incremental compilation issues in Kotlin 1.9.x.
For moshi-sealed KSP users, there should be no changes necessary.
For moshi-ir users, you must now apply the KSP gradle plugin as well as the moshix plugin. MoshiX's gradle plugin does not directly declare a transitive dependency on the KSP plugin to avoid Gradle classloader conflicts.
plugins {
// Other plugins
id("dev.zacsweers.moshix") version "x.y.z"
+ id("com.google.devtools.ksp") version "x.y.z"
}
If you don't want this or don't need proguard rule generation, you can opt out by setting the moshix.generateProguardRules
gradle property to false
.
This first release is an RC release to ensure there are no issues with the new standalone processor. If you encounter any issues, please file them!
What's Changed
- Update dependency dev.zacsweers.autoservice:auto-service-ksp to v1.1.0 by @renovate in #453
- remove local development section from README.md by @j-roskopf in #455
- Update dependency gradle to v8.2.1 by @renovate in #454
- Update dependency com.google.guava:guava to v32.1.1-jre by @renovate in #447
- Update plugin moshix to v0.23.0 by @renovate in #452
- Update kotlinx-metadata to 0.7.0 by @renovate in #456
- Reimplement proguard rule gen in KSP by @ZacSweers in #457
- Update plugin spotless to v6.20.0 by @renovate in #458
- Update kotlinCompileTesting to v0.3.0 by @renovate in #451
New Contributors
- @j-roskopf made their first contribution in #455
Full Changelog: 0.23.0...0.24.0-RC