2019-01-27 17:12:46 +03:00
|
|
|
plugins {
|
2021-02-23 17:40:28 +03:00
|
|
|
id("ru.mipt.npm.gradle.mpp")
|
|
|
|
id("ru.mipt.npm.gradle.native")
|
2019-01-27 17:12:46 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
description = "Context and provider definitions"
|
|
|
|
|
2020-08-31 11:27:44 +03:00
|
|
|
kscience {
|
2020-08-29 11:45:31 +03:00
|
|
|
useCoroutines()
|
|
|
|
}
|
2019-01-27 17:12:46 +03:00
|
|
|
|
|
|
|
kotlin {
|
|
|
|
sourceSets {
|
2021-02-23 17:40:28 +03:00
|
|
|
val commonMain by getting{
|
2019-01-27 17:12:46 +03:00
|
|
|
dependencies {
|
|
|
|
api(project(":dataforge-meta"))
|
|
|
|
}
|
|
|
|
}
|
2021-02-23 17:40:28 +03:00
|
|
|
jvmMain {
|
2019-01-27 17:12:46 +03:00
|
|
|
dependencies {
|
2020-04-22 13:40:35 +03:00
|
|
|
api(kotlin("reflect"))
|
2021-02-23 17:40:28 +03:00
|
|
|
api("io.github.microutils:kotlin-logging-jvm:2.0.4")
|
|
|
|
implementation("ch.qos.logback:logback-classic:1.2.3")
|
2019-01-27 17:12:46 +03:00
|
|
|
}
|
|
|
|
}
|
2021-02-23 17:40:28 +03:00
|
|
|
jsMain {
|
2019-01-27 17:12:46 +03:00
|
|
|
dependencies {
|
2021-02-23 17:40:28 +03:00
|
|
|
api("io.github.microutils:kotlin-logging-js:2.0.4")
|
2019-01-27 17:12:46 +03:00
|
|
|
}
|
|
|
|
}
|
2021-02-23 17:40:28 +03:00
|
|
|
//
|
|
|
|
// val nativeMain by getting{
|
|
|
|
// dependsOn(commonMain)
|
|
|
|
// }
|
|
|
|
// val mingwX64Main by getting{
|
|
|
|
// dependsOn(nativeMain)
|
|
|
|
// }
|
|
|
|
// val linuxX64Main by getting{
|
|
|
|
// dependsOn(nativeMain)
|
|
|
|
// }
|
2019-01-27 17:12:46 +03:00
|
|
|
}
|
2021-02-07 12:46:15 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
readme{
|
|
|
|
maturity = ru.mipt.npm.gradle.Maturity.DEVELOPMENT
|
2019-01-27 17:12:46 +03:00
|
|
|
}
|