-
Notifications
You must be signed in to change notification settings - Fork 29
/
build.gradle.kts
49 lines (42 loc) · 1.5 KB
/
build.gradle.kts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
import org.jetbrains.compose.desktop.application.dsl.TargetFormat
plugins {
id("social.androiddev.codequality")
kotlin("multiplatform") // kotlin("jvm") doesn't work well in IDEA/AndroidStudio (https://github.com/JetBrains/compose-jb/issues/22)
id("org.jetbrains.compose")
}
kotlin {
jvm {
withJava()
}
sourceSets {
named("jvmMain") {
dependencies {
implementation(compose.desktop.currentOs)
implementation(projects.ui.root)
implementation(projects.di)
implementation(projects.ui.common)
implementation(libs.com.arkivanov.decompose)
implementation(libs.com.arkivanov.decompose.extensions.compose.jetbrains)
implementation(libs.io.insert.koin.core)
implementation(libs.kotlinx.coroutines.javafx)
implementation(libs.kotlinx.coroutines.core)
}
}
}
}
compose.desktop {
application {
mainClass = "social.androiddev.desktop.MainKt"
nativeDistributions {
targetFormats(TargetFormat.Dmg, TargetFormat.Msi, TargetFormat.Deb)
packageName = "Dodo"
packageVersion = "1.0.0"
modules("java.sql")
windows {
menuGroup = "Dodo"
// see https://wixtoolset.org/documentation/manual/v3/howtos/general/generate_guids.html
upgradeUuid = "ccfe9aed-16ce-42e3-9fd9-92720794b2c2"
}
}
}
}