28 lines
671 B
Plaintext
28 lines
671 B
Plaintext
|
plugins {
|
||
|
kotlin("multiplatform")
|
||
|
}
|
||
|
|
||
|
val htmlVersion by rootProject.extra("0.6.12")
|
||
|
|
||
|
kotlin {
|
||
|
jvm()
|
||
|
js()
|
||
|
sourceSets {
|
||
|
val commonMain by getting {
|
||
|
dependencies {
|
||
|
api(project(":dataforge-output"))
|
||
|
api("org.jetbrains.kotlinx:kotlinx-html-common:$htmlVersion")
|
||
|
}
|
||
|
}
|
||
|
val jsMain by getting {
|
||
|
dependencies {
|
||
|
api("org.jetbrains.kotlinx:kotlinx-html-js:$htmlVersion")
|
||
|
}
|
||
|
}
|
||
|
val jvmMain by getting{
|
||
|
dependencies {
|
||
|
api("org.jetbrains.kotlinx:kotlinx-html-jvm:$htmlVersion")
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|