2023-11-13 21:45:37 +03:00
|
|
|
|
|
|
|
plugins {
|
|
|
|
id("space.kscience.gradle.mpp")
|
2023-12-19 10:18:42 +03:00
|
|
|
alias(spclibs.plugins.compose)
|
2023-11-13 21:45:37 +03:00
|
|
|
// id("com.android.library")
|
|
|
|
}
|
|
|
|
|
|
|
|
kscience{
|
|
|
|
jvm()
|
|
|
|
js()
|
|
|
|
// wasm()
|
|
|
|
}
|
|
|
|
|
|
|
|
kotlin {
|
|
|
|
// android()
|
|
|
|
sourceSets {
|
|
|
|
val commonMain by getting {
|
|
|
|
dependencies {
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
val jvmMain by getting {
|
|
|
|
dependencies {
|
|
|
|
api(compose.runtime)
|
|
|
|
api(compose.foundation)
|
|
|
|
api(compose.material)
|
|
|
|
api(compose.preview)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
val jsMain by getting{
|
|
|
|
dependencies {
|
|
|
|
api(compose.html.core)
|
|
|
|
api("app.softwork:bootstrap-compose:0.1.15")
|
|
|
|
api("app.softwork:bootstrap-compose-icons:0.1.15")
|
|
|
|
api(projects.visionforge.visionforgeThreejs)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|