KotlinPublicationScriptsBui.../core/build.gradle

47 lines
1.0 KiB
Groovy
Raw Normal View History

2021-03-01 14:17:06 +00:00
plugins {
id "org.jetbrains.kotlin.multiplatform"
id "org.jetbrains.kotlin.plugin.serialization"
2022-11-15 12:53:59 +00:00
alias(libs.plugins.jb.compose)
2021-03-01 14:17:06 +00:00
}
apply from: "$mppProjectWithSerializationPresetPath"
kotlin {
2022-11-15 18:56:24 +00:00
js (IR) {
binaries.executable()
}
2021-03-01 14:17:06 +00:00
sourceSets {
commonMain {
dependencies {
2022-11-15 12:53:59 +00:00
api libs.kt.coroutines
api libs.microutils.common
api libs.microutils.coroutines
api libs.ktor.client
api(compose.runtime)
}
}
2022-11-15 18:56:24 +00:00
jsMain {
dependencies {
implementation(compose.web.core)
api libs.ktor.client.js
api libs.jsuikit
}
}
2022-11-15 12:53:59 +00:00
jvmMain {
dependencies {
implementation(compose.desktop.currentOs)
2022-11-15 18:56:24 +00:00
api libs.ktor.client.cio
2021-03-01 14:17:06 +00:00
}
}
}
}
2022-11-15 18:56:24 +00:00
compose {
desktop {
application {
mainClass = "dev.inmo.kmppscriptbuilder.desktop.BuilderKt"
}
}
}