KotlinPublicationScriptsBui.../core/build.gradle
2022-11-16 00:56:24 +06:00

47 lines
1.0 KiB
Groovy

plugins {
id "org.jetbrains.kotlin.multiplatform"
id "org.jetbrains.kotlin.plugin.serialization"
alias(libs.plugins.jb.compose)
}
apply from: "$mppProjectWithSerializationPresetPath"
kotlin {
js (IR) {
binaries.executable()
}
sourceSets {
commonMain {
dependencies {
api libs.kt.coroutines
api libs.microutils.common
api libs.microutils.coroutines
api libs.ktor.client
api(compose.runtime)
}
}
jsMain {
dependencies {
implementation(compose.web.core)
api libs.ktor.client.js
api libs.jsuikit
}
}
jvmMain {
dependencies {
implementation(compose.desktop.currentOs)
api libs.ktor.client.cio
}
}
}
}
compose {
desktop {
application {
mainClass = "dev.inmo.kmppscriptbuilder.desktop.BuilderKt"
}
}
}