0.28.0
- Added support for publishing through the new Central Portal. To use
this use theCENTRAL_PORTAL
option when specifying the Sonatype host. - For Kotlin Multiplatform the main plugin will now automatically publish the
release
variant if the project has an Android target and no variant was explicitly
specified through the Kotlin Gradle DSL. - Support specifying the Android variants to publish in
KotlinMultiplatform(...)
. - Updated minimum supported Gradle, Android Gradle Plugin and Kotlin versions.
- Removed support for the deprecated Kotlin/JS plugin.
- Removed the deprecated
closeAndReleaseRepository
task. UsereleaseRepository
, which
is functionally equivalent, instead.
Minimum supported versions
- JDK 11
- Gradle 8.1
- Android Gradle Plugin 8.0.0
- Kotlin Gradle Plugin 1.9.20
Compatibility tested up to
- JDK 21
- Gradle 8.6
- Gradle 8.7-rc-3
- Android Gradle Plugin 8.3.0
- Android Gradle Plugin 8.4.0-alpha13
- Kotlin Gradle Plugin 1.9.23
- Kotlin Gradle Plugin 2.0.0-Beta4
Configuration cache status
Configuration cache is generally supported, except for:
- Publishing releases to Maven Central (snapshots are fine), blocked by Gradle issue #22779.
- Dokka does not support configuration cache