Kotlin MPP and gradle - local maven publication does not work with .kts script
Another day - another glitch from gradle.
Can anybody explain please, why Kotlin MPP project setup with groovy script publishes artifacts to local maven repo, and almost identical .kts variant does not do it?
Groovy:
buildscript {
repositories {
mavenCentral()
mavenLocal()
}
dependencies {
classpath "org.jetbrains.kotlin
kotlin gradle plugin$KOTLIN_VER"
}
}
plugins {
id 'org.jetbrains.kotlin.multiplatform' version "$KOTLIN_VER"
id...