2019-01-21 10:22:37 +03:00
|
|
|
plugins {
|
2019-01-26 19:38:18 +03:00
|
|
|
kotlin("multiplatform")
|
2019-01-21 10:22:37 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
maven("http://dl.bintray.com/kyonifer/maven")
|
|
|
|
}
|
|
|
|
|
|
|
|
kotlin {
|
|
|
|
jvm {
|
2019-01-26 22:04:28 +03:00
|
|
|
compilations.all {
|
|
|
|
kotlinOptions {
|
|
|
|
jvmTarget = "1.8"
|
|
|
|
freeCompilerArgs += "-progressive"
|
|
|
|
}
|
|
|
|
}
|
2019-01-21 10:22:37 +03:00
|
|
|
}
|
|
|
|
js()
|
|
|
|
|
|
|
|
sourceSets {
|
|
|
|
|
|
|
|
val commonMain by getting {
|
|
|
|
dependencies {
|
|
|
|
api(project(":kmath-core"))
|
2019-01-21 16:20:14 +03:00
|
|
|
api("com.kyonifer:koma-core-api-common:0.12")
|
2019-01-21 10:22:37 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
val commonTest by getting {
|
|
|
|
dependencies {
|
|
|
|
implementation(kotlin("test-common"))
|
|
|
|
implementation(kotlin("test-annotations-common"))
|
|
|
|
}
|
|
|
|
}
|
|
|
|
val jvmMain by getting {
|
|
|
|
dependencies {
|
2019-01-21 16:20:14 +03:00
|
|
|
api("com.kyonifer:koma-core-api-jvm:0.12")
|
2019-01-21 10:22:37 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
val jvmTest by getting {
|
|
|
|
dependencies {
|
|
|
|
implementation(kotlin("test"))
|
|
|
|
implementation(kotlin("test-junit"))
|
|
|
|
implementation("com.kyonifer:koma-core-ejml:0.12")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
val jsMain by getting {
|
|
|
|
dependencies {
|
2019-01-21 16:20:14 +03:00
|
|
|
api("com.kyonifer:koma-core-api-js:0.12")
|
2019-01-21 10:22:37 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
val jsTest by getting {
|
|
|
|
dependencies {
|
|
|
|
implementation(kotlin("test-js"))
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|