visionforge/visionforge-compose-html/build.gradle.kts

38 lines
785 B
Plaintext
Raw Normal View History

2023-11-13 21:45:37 +03:00
plugins {
id("space.kscience.gradle.mpp")
alias(spclibs.plugins.compose)
2023-11-13 21:45:37 +03:00
}
2023-12-27 12:01:55 +03:00
kscience {
2023-11-13 21:45:37 +03:00
jvm()
js()
// wasm()
}
kotlin {
// android()
sourceSets {
2023-12-27 12:01:55 +03:00
commonMain {
dependencies {
2023-12-18 09:41:05 +03:00
api(projects.visionforgeCore)
2023-12-27 12:01:55 +03:00
api(compose.runtime)
2023-11-13 21:45:37 +03:00
}
}
val jvmMain by getting {
dependencies {
api(compose.foundation)
api(compose.material)
api(compose.preview)
}
}
2023-12-27 12:01:55 +03:00
val jsMain by getting {
2023-11-13 21:45:37 +03:00
dependencies {
api(compose.html.core)
api("app.softwork:bootstrap-compose:0.1.15")
api("app.softwork:bootstrap-compose-icons:0.1.15")
}
}
}
}