2020-03-23 22:19:52 +03:00
|
|
|
plugins {
|
|
|
|
kotlin("multiplatform")
|
|
|
|
}
|
|
|
|
|
|
|
|
repositories{
|
|
|
|
jcenter()
|
|
|
|
maven("https://kotlin.bintray.com/kotlinx")
|
|
|
|
maven("https://dl.bintray.com/kotlin/kotlin-eap")
|
|
|
|
maven("https://dl.bintray.com/mipt-npm/dataforge")
|
2020-10-02 19:09:25 +03:00
|
|
|
maven("https://dl.bintray.com/mipt-npm/kscience")
|
2020-03-23 22:19:52 +03:00
|
|
|
maven("https://dl.bintray.com/mipt-npm/dev")
|
|
|
|
}
|
|
|
|
|
|
|
|
kotlin {
|
2020-12-12 21:19:41 +03:00
|
|
|
jvm{
|
|
|
|
compilations.all {
|
|
|
|
kotlinOptions.jvmTarget = "11"
|
|
|
|
}
|
|
|
|
testRuns["test"].executionTask.configure {
|
|
|
|
useJUnitPlatform()
|
|
|
|
}
|
|
|
|
}
|
2020-10-02 19:09:25 +03:00
|
|
|
js(IR) {
|
2020-12-06 19:16:48 +03:00
|
|
|
browser {
|
|
|
|
}
|
|
|
|
binaries.executable()
|
2020-03-23 22:19:52 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
sourceSets {
|
|
|
|
commonMain {
|
|
|
|
dependencies {
|
2020-12-06 19:16:48 +03:00
|
|
|
implementation(project(":visionforge-solid"))
|
|
|
|
implementation(project(":visionforge-gdml"))
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
val jsMain by getting{
|
|
|
|
dependencies {
|
|
|
|
implementation(project(":ui:bootstrap"))
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
val jvmMain by getting{
|
|
|
|
dependencies {
|
|
|
|
implementation("com.github.Ricky12Awesome:json-schema-serialization:0.6.6")
|
2020-12-12 21:19:41 +03:00
|
|
|
implementation(project(":visionforge-threejs:visionforge-threejs-server"))
|
2020-03-23 22:19:52 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|