Files
kotlin-fork/plugins/atomicfu/atomicfu-runtime/build.gradle.kts
T
Nikolay Krasko 01f567a16d Disable yarn and npm tasks from the build when tests are not active
Kotlin build shouldn't depend on npm during while deploy artefacts tasks

^KTI-887 Fixed
^KT-53687 Related
2022-08-30 22:15:16 +00:00

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"])
}
}
}