kmath/kmath-koma/build.gradle.kts
2019-04-23 16:07:26 +08:00

57 lines
1.3 KiB
Plaintext

plugins {
id("multiplatform-config")
}
repositories {
maven("http://dl.bintray.com/kyonifer/maven")
}
kotlin {
jvm {
compilations.all {
kotlinOptions {
freeCompilerArgs += "-progressive"
}
}
}
js()
sourceSets.invoke {
commonMain {
dependencies {
api(project(":kmath-core"))
api("com.kyonifer:koma-core-api-common:0.12")
}
}
commonTest {
dependencies {
implementation(kotlin("test-common"))
implementation(kotlin("test-annotations-common"))
}
}
"jvmMain" {
dependencies {
api("com.kyonifer:koma-core-api-jvm:0.12")
}
}
"jvmTest" {
dependencies {
implementation(kotlin("test"))
implementation(kotlin("test-junit"))
implementation("com.kyonifer:koma-core-ejml:0.12")
}
}
"jsMain" {
dependencies {
api("com.kyonifer:koma-core-api-js:0.12")
}
}
"jsTest" {
dependencies {
implementation(kotlin("test-js"))
}
}
}
}