visionforge/dataforge-vis-common/build.gradle.kts

49 lines
1.6 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
2019-10-13 12:38:24 +03:00
//val kvisionVersion: String by rootProject.extra("2.0.0-M1")
2019-03-08 11:55:01 +03:00
kotlin {
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-03-23 22:19:52 +03:00
//React, React DOM + Wrappers (chapter 3)
api("org.jetbrains:kotlin-react:16.13.0-pre.94-kotlin-1.3.70")
api("org.jetbrains:kotlin-react-dom:16.13.0-pre.94-kotlin-1.3.70")
api(npm("react", "16.13.0"))
api(npm("react-dom", "16.13.0"))
//Kotlin Styled (chapter 3)
api("org.jetbrains:kotlin-styled:1.0.0-pre.94-kotlin-1.3.70")
api(npm("styled-components"))
api(npm("inline-style-prefixer"))
api(npm("bootstrap","4.3.1"))
//api(npm("jsoneditor", "8.6.1"))
api(npm("file-saver","2.0.2"))
2019-03-08 11:55:01 +03:00
}
}
}
2020-03-16 22:24:57 +03:00
}