mirror of
https://github.com/InsanusMokrassar/KotlinPublicationScriptsBuilder.git
synced 2024-11-22 00:03:57 +00:00
47 lines
1.0 KiB
Groovy
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"
|
|
}
|
|
}
|
|
}
|