forked from kscience/kmath
50 lines
1.1 KiB
Plaintext
50 lines
1.1 KiB
Plaintext
plugins {
|
|
kotlin("multiplatform")
|
|
}
|
|
|
|
val ioVersion: String by rootProject.extra
|
|
|
|
|
|
kotlin {
|
|
jvm()
|
|
js()
|
|
|
|
sourceSets {
|
|
val commonMain by getting {
|
|
dependencies {
|
|
api(kotlin("stdlib"))
|
|
}
|
|
}
|
|
val commonTest by getting {
|
|
dependencies {
|
|
implementation(kotlin("test-common"))
|
|
implementation(kotlin("test-annotations-common"))
|
|
}
|
|
}
|
|
val jvmMain by getting {
|
|
dependencies {
|
|
api(kotlin("stdlib-jdk8"))
|
|
}
|
|
}
|
|
val jvmTest by getting {
|
|
dependencies {
|
|
implementation(kotlin("test"))
|
|
implementation(kotlin("test-junit"))
|
|
}
|
|
}
|
|
val jsMain by getting {
|
|
dependencies {
|
|
api(kotlin("stdlib-js"))
|
|
}
|
|
}
|
|
val jsTest by getting {
|
|
dependencies {
|
|
implementation(kotlin("test-js"))
|
|
}
|
|
}
|
|
// mingwMain {
|
|
// }
|
|
// mingwTest {
|
|
// }
|
|
}
|
|
} |