kmath/kmath-core/build.gradle

53 lines
1.5 KiB
Groovy
Raw Normal View History

2018-09-30 17:18:04 +03:00
plugins {
id "org.jetbrains.kotlin.multiplatform"
2018-09-30 17:18:04 +03:00
}
kotlin {
targets {
2018-10-26 17:45:41 +03:00
fromPreset(presets.jvm, 'jvm')
2018-09-30 17:18:04 +03:00
fromPreset(presets.js, 'js')
// For ARM, preset should be changed to presets.iosArm32 or presets.iosArm64
// For Linux, preset should be changed to e.g. presets.linuxX64
// For MacOS, preset should be changed to e.g. presets.macosX64
//fromPreset(presets.mingwX64, 'mingw')
}
sourceSets {
commonMain {
dependencies {
api 'org.jetbrains.kotlin:kotlin-stdlib-common'
2018-09-30 17:18:04 +03:00
}
}
commonTest {
dependencies {
implementation 'org.jetbrains.kotlin:kotlin-test-common'
implementation 'org.jetbrains.kotlin:kotlin-test-annotations-common'
}
}
jvmMain {
dependencies {
api 'org.jetbrains.kotlin:kotlin-stdlib-jdk8'
2018-09-30 17:18:04 +03:00
}
}
jvmTest {
dependencies {
implementation 'org.jetbrains.kotlin:kotlin-test'
implementation 'org.jetbrains.kotlin:kotlin-test-junit'
}
}
jsMain {
dependencies {
api 'org.jetbrains.kotlin:kotlin-stdlib-js'
2018-09-30 17:18:04 +03:00
}
}
jsTest {
dependencies {
implementation 'org.jetbrains.kotlin:kotlin-test-js'
}
}
// mingwMain {
// }
// mingwTest {
// }
}
}