mirror of
https://github.com/InsanusMokrassar/KotlinPublicationScriptsBuilder.git
synced 2024-11-24 11:08:52 +00:00
38 lines
803 B
Groovy
38 lines
803 B
Groovy
plugins {
|
|
id "org.jetbrains.kotlin.multiplatform"
|
|
id "org.jetbrains.kotlin.plugin.serialization"
|
|
id("org.jetbrains.compose") version "$compose_version"
|
|
}
|
|
|
|
apply from: "$mppJavaProjectPresetPath"
|
|
|
|
kotlin {
|
|
jvm {
|
|
compilations.main.kotlinOptions {
|
|
jvmTarget = "11"
|
|
useIR = true
|
|
}
|
|
}
|
|
sourceSets {
|
|
commonMain {
|
|
dependencies {
|
|
implementation project(":kmppscriptbuilder.core")
|
|
}
|
|
}
|
|
|
|
jvmMain {
|
|
dependencies {
|
|
implementation(compose.desktop.currentOs)
|
|
api "io.ktor:ktor-client-cio:$ktor_version"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
compose.desktop {
|
|
application {
|
|
mainClass = "dev.inmo.kmppscriptbuilder.desktop.BuilderKt"
|
|
}
|
|
}
|
|
|