-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
49 lines (42 loc) · 1.27 KB
/
build.gradle.kts
File metadata and controls
49 lines (42 loc) · 1.27 KB
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 {
kotlin("jvm")
id("org.jetbrains.compose")
id("org.jetbrains.kotlin.plugin.compose")
}
group = "com.gtech"
version = "2.0.1"
repositories {
mavenCentral()
maven("https://maven.pkg.jetbrains.space/public/p/compose/dev")
google()
}
dependencies {
implementation(compose.desktop.currentOs) {
exclude("org.jetbrains.compose.material")
}
implementation(compose.material3)
implementation(project(":KSerial"))
}
compose.desktop {
application {
nativeDistributions {
modules("java.compiler", "java.instrument" , "java.sql", "jdk.unsupported")
modules("java.naming", "java.management", "java.xml", "jdk.management")
buildTypes {
release {
proguard {
configurationFiles.from(project.file("proguard-rules.pro"))
isEnabled.set(false)
obfuscate.set(false)
optimize.set(true)
}
}
}
targetFormats(TargetFormat.Msi)
mainClass = "MainKt"
packageName = "KSerial"
packageVersion = version.toString()
}
}
}