2021-01-26 13:54:28 +01:00
|
|
|
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"))
|
2021-01-31 12:33:41 +01:00
|
|
|
implementation(project(":common:dependency-injection"))
|
2021-02-25 14:28:33 +01:00
|
|
|
implementation(project(":common:compose"))
|
2021-02-26 00:59:54 +01:00
|
|
|
implementation(project(":common:root"))
|
2021-02-10 18:25:36 +01:00
|
|
|
implementation(Decompose.decompose)
|
|
|
|
implementation(Decompose.extensionsCompose)
|
|
|
|
implementation(MVIKotlin.mvikotlin)
|
|
|
|
implementation(MVIKotlin.mvikotlinMain)
|
2021-01-26 13:54:28 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
val jvmTest by getting
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
compose.desktop {
|
|
|
|
application {
|
|
|
|
mainClass = "MainKt"
|
|
|
|
nativeDistributions {
|
|
|
|
targetFormats(TargetFormat.Dmg, TargetFormat.Msi, TargetFormat.Deb)
|
|
|
|
packageName = "SpotiFlyer"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|