mirror of
https://github.com/Shabinder/SpotiFlyer.git
synced 2024-11-25 10:24:31 +01:00
44 lines
1.2 KiB
Plaintext
44 lines
1.2 KiB
Plaintext
import org.jetbrains.compose.compose
|
|
import org.jetbrains.compose.desktop.application.dsl.TargetFormat
|
|
|
|
plugins {
|
|
kotlin("multiplatform")
|
|
id("org.jetbrains.compose")
|
|
}
|
|
|
|
group = "com.shabinder"
|
|
version = Versions.versionName
|
|
|
|
kotlin {
|
|
jvm {
|
|
compilations.all {
|
|
kotlinOptions.jvmTarget = "11"
|
|
}
|
|
}
|
|
sourceSets {
|
|
val jvmMain by getting {
|
|
dependencies {
|
|
implementation(compose.desktop.currentOs)
|
|
implementation(project(":common:database"))
|
|
implementation(project(":common:dependency-injection"))
|
|
implementation(project(":common:compose"))
|
|
implementation(project(":common:root"))
|
|
implementation(Decompose.decompose)
|
|
implementation(Decompose.extensionsCompose)
|
|
implementation(MVIKotlin.mvikotlin)
|
|
implementation(MVIKotlin.mvikotlinMain)
|
|
}
|
|
}
|
|
val jvmTest by getting
|
|
}
|
|
}
|
|
|
|
compose.desktop {
|
|
application {
|
|
mainClass = "MainKt"
|
|
nativeDistributions {
|
|
targetFormats(TargetFormat.Dmg, TargetFormat.Msi, TargetFormat.Deb)
|
|
packageName = "SpotiFlyer"
|
|
}
|
|
}
|
|
} |