-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
44 lines (37 loc) · 1.12 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
import org.jetbrains.compose.desktop.application.dsl.TargetFormat
plugins {
kotlin("jvm")
id("org.jetbrains.compose")
id("org.jetbrains.kotlin.plugin.compose")
}
group = "bits.code.vgit"
version = "1.0-SNAPSHOT"
repositories {
mavenCentral()
maven("https://maven.pkg.jetbrains.space/public/p/compose/dev")
google()
}
dependencies {
implementation(project(":ui"))
implementation(compose.desktop.currentOs)
implementation(compose.components.resources)
}
compose.desktop {
application {
mainClass = "bits.code.vgit.MainKt"
nativeDistributions {
targetFormats(TargetFormat.Dmg, TargetFormat.Msi, TargetFormat.Deb)
packageName = "vgit"
packageVersion = "1.0.0"
macOS {
iconFile.set(project.file("./src/main/resources/app.svg"))
}
windows {
iconFile.set(project.file("./src/main/resources/app.svg"))
}
linux {
iconFile.set(project.file("./src/main/resources/app.svg"))
}
}
}
}