• v0.2k2.0.20 abfd205cf6

    v0.2k2.0.20 Stable

    xomrk released this 2024-11-09 13:58:37 +00:00 | 2 commits to master/k2.0.x since this release

    Added Gradle plugin (with id ru.landgrafhomyak.kotlin.original-multiplatform-ext) with dsl to autamtically enable (lazily) another neccessary plugins and provide their extensions:

    xomrk {
        kotlin {  } // kotlin("multiplatform")
        publishing { } // `maven-publish`
    }
    

    Provided plugins:

    • xomrk.kotlin { ... } - org.jetbrains.kotlin.multiplatform
    • xomrk.publishing { ... } - org.gradle.maven-publish

    New functions:

    • publishing.forceSetAllMavenArtifactsId("...") - useful for single-platform (e.g. JVM-only) libraries
    • publishing.replaceAllMavenArtifactsIdPrefixes("...", "...") - safe replacing for libraries with many targets
    • publishing.replaceAllMavenArtifactsIdSuffixes("...", "...") - replacing of platform id (but better to do it in kotlin {...} block)
    Downloads