0.24.0
New: 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
.
- Update KSP to
1.9.0-1.0.12
. - Update KotlinPoet to
1.14.2
. - Update to kotlinx-metadata
0.7.0
. - Update to Guava
32.1.1-jre
.
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
- Fix proguard rule output location by @ZacSweers in #463
- Update kotlinpoet to v1.14.2 by @renovate in #462
- Update dependency dev.zacsweers.kctfork:ksp to v0.3.1 by @renovate in #466
- Update ksp to v1.9.0-1.0.12 by @renovate in #465
New Contributors
- @j-roskopf made their first contribution in #455
Full Changelog: 0.23.0...0.24.0