dataforge-core/dataforge-output/dataforge-output-html/build.gradle.kts

28 lines
670 B
Plaintext
Raw Normal View History

2019-03-18 16:55:14 +03:00
plugins {
2019-04-30 14:57:48 +03:00
`multiplatform-config`
2019-03-18 16:55:14 +03:00
}
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")
}
}
}
}