2020-02-17 14:46:02 +03:00
|
|
|
pluginManagement {
|
2020-06-05 21:07:23 +03:00
|
|
|
val kotlinVersion = "1.3.72"
|
2020-08-02 22:39:11 +03:00
|
|
|
val toolsVersion = "0.5.2"
|
2020-02-17 14:46:02 +03:00
|
|
|
|
|
|
|
repositories {
|
|
|
|
mavenLocal()
|
|
|
|
jcenter()
|
|
|
|
gradlePluginPortal()
|
|
|
|
maven("https://kotlin.bintray.com/kotlinx")
|
|
|
|
maven("https://dl.bintray.com/kotlin/kotlin-eap")
|
|
|
|
maven("https://dl.bintray.com/mipt-npm/dataforge")
|
|
|
|
maven("https://dl.bintray.com/mipt-npm/scientifik")
|
|
|
|
maven("https://dl.bintray.com/mipt-npm/dev")
|
|
|
|
}
|
|
|
|
|
|
|
|
plugins {
|
|
|
|
kotlin("jvm") version kotlinVersion
|
|
|
|
id("scientifik.mpp") version toolsVersion
|
|
|
|
id("scientifik.jvm") version toolsVersion
|
|
|
|
id("scientifik.js") version toolsVersion
|
|
|
|
id("scientifik.publish") version toolsVersion
|
|
|
|
}
|
|
|
|
|
|
|
|
resolutionStrategy {
|
|
|
|
eachPlugin {
|
|
|
|
when (requested.id.id) {
|
|
|
|
"scientifik.publish", "scientifik.mpp", "scientifik.jvm", "scientifik.js" -> useModule("scientifik:gradle-tools:${toolsVersion}")
|
2020-06-05 21:07:23 +03:00
|
|
|
"kotlinx-atomicfu" -> useModule("org.jetbrains.kotlinx:atomicfu-gradle-plugin:${requested.version}")
|
2020-02-17 14:46:02 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-08-04 16:13:53 +03:00
|
|
|
rootProject.name = "dataforge-control"
|
2020-02-17 14:46:02 +03:00
|
|
|
|
|
|
|
include(
|
2020-07-19 20:37:44 +03:00
|
|
|
":dataforge-device-core",
|
2020-08-15 20:24:35 +03:00
|
|
|
":dataforge-device-serial",
|
2020-07-19 20:37:44 +03:00
|
|
|
":dataforge-device-server",
|
|
|
|
":dataforge-device-client",
|
2020-06-05 21:07:23 +03:00
|
|
|
":demo"
|
2020-02-17 14:46:02 +03:00
|
|
|
)
|
|
|
|
|
2020-06-05 21:07:23 +03:00
|
|
|
//includeBuild("../dataforge-core")
|
|
|
|
//includeBuild("../plotly.kt")
|