dataforge-core/dataforge-context/build.gradle

40 lines
1.2 KiB
Groovy
Raw Normal View History

2018-11-06 14:09:43 +03:00
plugins {
2018-12-05 09:55:30 +03:00
id "org.jetbrains.kotlin.multiplatform"
2018-11-06 14:09:43 +03:00
}
repositories {
jcenter()
}
kotlin {
targets {
fromPreset(presets.jvm, 'jvm')
2019-01-11 07:36:02 +03:00
fromPreset(presets.js, 'js')
2018-11-06 14:09:43 +03:00
// 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.iosX64, 'ios')
}
sourceSets {
commonMain {
dependencies {
api project(":dataforge-meta")
api "org.jetbrains.kotlin:kotlin-reflect"
api "io.github.microutils:kotlin-logging-common:1.6.10"
2019-01-11 07:36:02 +03:00
api "org.jetbrains.kotlinx:kotlinx-coroutines-core-common:$coroutinesVersion"
2018-11-06 14:09:43 +03:00
}
}
jvmMain{
dependencies{
api "io.github.microutils:kotlin-logging:1.6.10"
2019-01-11 07:36:02 +03:00
api "org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutinesVersion"
}
}
jsMain{
dependencies{
api "io.github.microutils:kotlin-logging-js:1.6.10"
api "org.jetbrains.kotlinx:kotlinx-coroutines-core-js:$coroutinesVersion"
2018-11-06 14:09:43 +03:00
}
}
}
}