• v0.1k2.0.20 a5598155e5

    v0.1k2.0.20 Stable

    xomrk released this 2024-11-05 12:20:02 +00:00 | 7 commits to master/k2.0.x since this release

    Added buildscript library for Kotlin/Multiplatform 2.0.20 and Gradle at least 7.5.1.

    New functions:

    • kotlin.configureAllCompilations { ... } - configures compilations of all targets
    • kotlin.configureAllCompilersOptions { ... } - configures compiler for all targets
    • kotlin.noWarnExpectActual() - removes warning "expect/actual mechanism is experimental"
    • kotlin.warningsAsErrors()
    • kotlin.optIn("...") - opt-ins specified annotation to all targets
    • kotlin.optInContracts() = kotlin.optIn("kotlin.contracts.ExperimentalContracts")
    • kotlin.setCompatibilityWithKotlin(org.jetbrains.kotlin.gradle.dsl.KotlinVersion.KOTLIN_2_0) - sets kotlin compatibility (both api and language) for all targets
    • kotlin.defineAllMultiplatformTargets() - defines all possible targets, useful for 'algorithm' libraries that are not depends on platform
    Downloads