-
Notifications
You must be signed in to change notification settings - Fork 8
/
build.gradle.kts
47 lines (39 loc) · 1.19 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
plugins {
kotlin("jvm") version "1.8.0"
id("org.jetbrains.compose") version "1.4.0"
}
repositories {
mavenCentral()
maven("https://maven.pkg.jetbrains.space/public/p/compose/dev")
google()
}
dependencies {
implementation(compose.desktop.currentOs)
implementation("org.jetbrains.compose.material:material-icons-extended-desktop:1.4.0")
implementation("org.jetbrains.compose.material3:material3:1.2.1")
testImplementation("junit:junit:4.13.2")
testImplementation("org.jetbrains.compose.ui:ui-test-desktop:1.4.0")
testImplementation("org.jetbrains.compose.ui:ui-test-junit4:1.4.0")
}
java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(17))
}
}
compose.desktop {
application {
mainClass = "MainKt"
nativeDistributions {
modules("java.sql")
targetFormats(
org.jetbrains.compose.desktop.application.dsl.TargetFormat.Dmg,
)
packageVersion = "1.6.0"
packageName = "m3-components"
val iconsRoot = project.file("src/main/resources")
macOS {
iconFile.set(iconsRoot.resolve("icon.icns"))
}
}
}
}