-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
63 lines (54 loc) · 1.51 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
import org.jetbrains.compose.desktop.application.dsl.TargetFormat
plugins {
alias(libs.plugins.kotlin.jvm)
alias(libs.plugins.compose)
alias(libs.plugins.sqlDelight)
alias(libs.plugins.kotlin.serialization)
}
group = "com.jjswigut"
version = "1.0-SNAPSHOT"
repositories {
mavenCentral()
maven("https://maven.pkg.jetbrains.space/public/p/compose/dev")
google()
}
dependencies {
implementation(compose.desktop.currentOs)
implementation(compose.materialIconsExtended)
implementation(libs.sqlDelight.driver)
implementation(libs.sqlDelight.coroutines)
implementation(libs.jNativeHook)
implementation(libs.kotlinJson)
}
compose.desktop {
application {
mainClass = "MainKt"
nativeDistributions {
modules("java.sql", "java.naming")
targetFormats(
TargetFormat.Dmg,
TargetFormat.Msi,
TargetFormat.Deb,
TargetFormat.Pkg,
TargetFormat.Exe
)
packageName = "KlippaKlip"
packageVersion = "1.0.0"
macOS {
bundleID = "com.jjswigut.klippaklip"
iconFile.set(project.file("src/main/resources/klippaklip.icns"))
signing {
sign.set(true)
identity.set("Joshua Swigut")
}
}
}
}
}
sqldelight {
databases {
create("Database") {
packageName.set("com.jjswigut.klippaklip")
}
}
}