kmath/kmath-core/build.gradle.kts

60 lines
1.3 KiB
Plaintext
Raw Normal View History

2019-01-31 18:19:02 +03:00
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
2019-01-26 19:38:18 +03:00
plugins {
kotlin("multiplatform")
}
kotlin {
jvm {
compilations.all {
kotlinOptions {
jvmTarget = "1.8"
}
}
}
js()
sourceSets {
2019-01-31 18:19:02 +03:00
all {
languageSettings.progressiveMode = true
}
2019-01-26 19:38:18 +03:00
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 {
// }
}
}