late dependency inclusion for mpp
This commit is contained in:
parent
ac1c77d94f
commit
1f3b237c49
@ -66,11 +66,13 @@ open class ScientifikMPPlugin : Plugin<Project> {
|
|||||||
val jvmMain by getting {
|
val jvmMain by getting {
|
||||||
dependencies {
|
dependencies {
|
||||||
api(kotlin("stdlib-jdk8"))
|
api(kotlin("stdlib-jdk8"))
|
||||||
if(extension.atomicfu){
|
project.afterEvaluate {
|
||||||
implementation("org.jetbrains.kotlinx:atomicfu:${Scientifik.atomicfuVersion}")
|
if (extension.atomicfu) {
|
||||||
}
|
implementation("org.jetbrains.kotlinx:atomicfu:${Scientifik.atomicfuVersion}")
|
||||||
if(extension.io){
|
}
|
||||||
api("org.jetbrains.kotlinx:kotlinx-io-jvm:${Scientifik.ioVersion}")
|
if (extension.io) {
|
||||||
|
api("org.jetbrains.kotlinx:kotlinx-io-jvm:${Scientifik.ioVersion}")
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -83,11 +85,13 @@ open class ScientifikMPPlugin : Plugin<Project> {
|
|||||||
val jsMain by getting {
|
val jsMain by getting {
|
||||||
dependencies {
|
dependencies {
|
||||||
api(kotlin("stdlib-js"))
|
api(kotlin("stdlib-js"))
|
||||||
if(extension.atomicfu){
|
project.afterEvaluate {
|
||||||
implementation("org.jetbrains.kotlinx:atomicfu-common-js:${Scientifik.atomicfuVersion}")
|
if (extension.atomicfu) {
|
||||||
}
|
implementation("org.jetbrains.kotlinx:atomicfu-common-js:${Scientifik.atomicfuVersion}")
|
||||||
if(extension.io){
|
}
|
||||||
api("org.jetbrains.kotlinx:kotlinx-io-js:${Scientifik.ioVersion}")
|
if (extension.io) {
|
||||||
|
api("org.jetbrains.kotlinx:kotlinx-io-js:${Scientifik.ioVersion}")
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user