visionforge/visionforge-common/build.gradle.kts

46 lines
1.4 KiB
Plaintext
Raw Normal View History

2019-03-08 11:55:01 +03:00
plugins {
2019-06-30 14:35:54 +03:00
id("scientifik.mpp")
2019-03-08 11:55:01 +03:00
}
val dataforgeVersion: String by rootProject.extra
kotlin {
2020-04-20 17:52:22 +03:00
js {
useCommonJs()
}
2019-03-08 11:55:01 +03:00
sourceSets {
2020-03-23 22:19:52 +03:00
commonMain {
2019-03-08 11:55:01 +03:00
dependencies {
2019-03-25 22:12:22 +03:00
api("hep.dataforge:dataforge-output:$dataforgeVersion")
2019-06-02 20:32:31 +03:00
}
}
2020-03-23 22:19:52 +03:00
jvmMain {
2019-10-12 17:17:05 +03:00
dependencies {
2020-03-16 22:24:57 +03:00
api("no.tornado:tornadofx:1.7.20")
2019-12-24 22:09:39 +03:00
//api("no.tornado:tornadofx-controlsfx:0.1.1")
2020-03-23 22:19:52 +03:00
api("de.jensd:fontawesomefx-fontawesome:4.7.0-11") {
2019-12-30 17:14:42 +03:00
exclude(group = "org.openjfx")
}
2020-03-23 22:19:52 +03:00
api("de.jensd:fontawesomefx-commons:11.0") {
2019-12-30 17:14:42 +03:00
exclude(group = "org.openjfx")
}
2019-10-12 17:17:05 +03:00
}
}
2020-03-23 22:19:52 +03:00
jsMain {
2019-06-02 20:32:31 +03:00
dependencies {
2019-06-30 14:35:54 +03:00
api("hep.dataforge:dataforge-output-html:$dataforgeVersion")
2020-05-16 19:26:28 +03:00
api("org.jetbrains.kotlinx:kotlinx-html:0.6.12")
2020-05-17 19:00:14 +03:00
//api("org.jetbrains:kotlin-extensions:1.0.1-pre.105-kotlin-1.3.72")
//api("org.jetbrains:kotlin-css-js:1.0.0-pre.105-kotlin-1.3.72")
2020-05-16 19:26:28 +03:00
api("org.jetbrains:kotlin-styled:1.0.0-pre.104-kotlin-1.3.72")
api(npm("core-js", "2.6.5"))
api(npm("inline-style-prefixer", "5.1.0"))
api(npm("styled-components", "4.3.2"))
//api(project(":ringui-wrapper"))
2019-03-08 11:55:01 +03:00
}
}
}
2020-03-16 22:24:57 +03:00
}