kmath/kmath-koma/build.gradle.kts

57 lines
1.3 KiB
Plaintext
Raw Normal View History

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