Skip to content

1.6.20-M1-1.0.2

Pre-release
Pre-release
Compare
Choose a tag to compare
@ting-yuan ting-yuan released this 08 Feb 21:14

KSP 1.0.2 release for Kotlin 1.6.20-M1

Kotlin 1.6.20 enabled hierarchical structure by default. Therefore there is a noticeable change in KSP's configuration with regard to metadata compilation for common source set in multiplatform. Previously, kspMetadata was specified to apply processors to metadata compilation for common source set. Now it becomes kspCommonMainMetadata by default or more generally ksp<shared source set>Metadata.

The output folder has also changed from build/generated/ksp/<source set>/<kotlin or java or classes or resources>/ to build/generated/ksp/<platform>/<source set>/<kotlin or java or classes or resources>/ to accommodate HMPP, where sources sets can be shared among different platforms.

Other than that this is a rebuild with the new Kotlin compiler.