01f567a16d
Kotlin build shouldn't depend on npm during while deploy artefacts tasks ^KTI-887 Fixed ^KT-53687 Related
42 lines
700 B
Kotlin
42 lines
700 B
Kotlin
import plugins.signLibraryPublication
|
|
|
|
description = "Runtime library for the Atomicfu compiler plugin"
|
|
|
|
plugins {
|
|
kotlin("js")
|
|
`maven-publish`
|
|
}
|
|
|
|
group = "org.jetbrains.kotlin"
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
kotlin {
|
|
js() {
|
|
browser()
|
|
nodejs()
|
|
}
|
|
|
|
sourceSets {
|
|
js().compilations["main"].defaultSourceSet {
|
|
dependencies {
|
|
compileOnly(kotlin("stdlib-js"))
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
suppressYarnAndNpmForAssemble()
|
|
|
|
configureCommonPublicationSettingsForGradle(signLibraryPublication)
|
|
|
|
publishing {
|
|
publications {
|
|
create<MavenPublication>("maven") {
|
|
from(components["kotlin"])
|
|
}
|
|
}
|
|
}
|