35 lines
929 B
Plaintext
35 lines
929 B
Plaintext
import org.jetbrains.compose.desktop.application.dsl.TargetFormat
|
|
|
|
plugins {
|
|
alias(libs.plugins.kotlin.multiplatform)
|
|
alias(libs.plugins.compose.compiler)
|
|
alias(libs.plugins.jetbrains.compose)
|
|
}
|
|
|
|
kotlin {
|
|
jvm()
|
|
|
|
sourceSets {
|
|
jvmMain.dependencies {
|
|
implementation("com.bricks.mp:shared")
|
|
implementation(compose.desktop.currentOs)
|
|
implementation(compose.runtime)
|
|
implementation(compose.foundation)
|
|
implementation(compose.material3)
|
|
implementation(compose.ui)
|
|
implementation(libs.kotlinx.coroutines.core)
|
|
}
|
|
}
|
|
}
|
|
|
|
compose.desktop {
|
|
application {
|
|
mainClass = "com.bricks.test.sageclient.MainKt"
|
|
nativeDistributions {
|
|
targetFormats(TargetFormat.Dmg, TargetFormat.Msi, TargetFormat.Deb)
|
|
packageName = "sageclient"
|
|
packageVersion = "1.0.0"
|
|
}
|
|
}
|
|
}
|