-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
62 lines (50 loc) · 1.3 KB
/
Copy pathbuild.gradle.kts
File metadata and controls
62 lines (50 loc) · 1.3 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
50
51
52
53
54
55
56
57
58
59
60
61
62
import org.jetbrains.compose.desktop.application.dsl.TargetFormat
plugins {
kotlin("jvm") version "2.1.21"
alias(libs.plugins.jetbrainsCompose)
alias(libs.plugins.compose.compiler)
alias(libs.plugins.kotlin.serialization)
}
group = "com.github.purofle"
version = "1.0"
repositories {
mavenCentral()
google()
}
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath(libs.proguard.plugin)
}
}
kotlin {
jvmToolchain(21)
}
dependencies {
implementation(libs.log4j.api)
implementation(libs.log4j.core)
testImplementation(kotlin("test"))
implementation(compose.desktop.currentOs)
implementation(libs.compose.material3)
implementation(libs.compose.material.icons.extended)
implementation(project(":NMSLCore"))
}
tasks.test {
useJUnit()
}
compose.desktop {
application {
mainClass = "com.github.purofle.nmsl.MainKt"
nativeDistributions {
targetFormats(TargetFormat.Dmg, TargetFormat.Msi, TargetFormat.Deb)
packageName = "NMSLauncher"
packageVersion = "1.0.0"
copyright = "Copyright (C) Purofle 2023-2026"
}
buildTypes.release.proguard {
configurationFiles.from(project.file("compose-desktop.pro"))
}
}
}