kmath/kmath-core/build.gradle.kts

51 lines
1.1 KiB
Plaintext
Raw Normal View History

2019-01-26 19:38:18 +03:00
plugins {
kotlin("multiplatform")
}
2019-02-12 11:58:58 +03:00
val ioVersion: String by rootProject.extra
2019-01-26 19:38:18 +03:00
kotlin {
2019-02-12 11:58:58 +03:00
jvm()
2019-01-26 19:38:18 +03:00
js()
sourceSets {
val commonMain by getting {
dependencies {
2019-02-20 12:54:39 +03:00
api(project(":kmath-memory"))
2019-01-26 19:38:18 +03:00
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 {
// }
}
}