-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
61 lines (49 loc) · 1.27 KB
/
build.gradle
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
plugins {
id 'application'
id 'org.openjfx.javafxplugin' version '0.0.13'
id 'org.beryx.jlink' version '3.0.1'
}
repositories {
mavenCentral()
}
javafx {
version = "17"
modules = [ 'javafx.controls', 'javafx.fxml' ]
}
application {
mainClass = 'net.jockx.kulki.MainApp'
mainModule = 'net.jockx.kulki'
}
group = 'net.jockx'
version = '1.0'
description = """Kulki"""
dependencies {
implementation 'org.openjfx:javafx-controls:17'
implementation 'org.openjfx:javafx-fxml:17'
implementation 'com.miglayout:miglayout-javafx:11.2'
implementation 'commons-lang:commons-lang:2.6'
implementation 'org.slf4j:slf4j-reload4j:2.0.13'
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.10.2'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.10.2'
}
test {
useJUnitPlatform()
}
compileJava {
options.encoding = 'UTF-8'
}
jlink {
options = ['--strip-debug', '--no-header-files', '--no-man-pages']
addExtraDependencies('org.slf4j')
launcher {
name = 'Kulki'
}
jpackage {
skipInstaller = true
icon = 'flatpak/Kulki.png'
imageOptions += [
'--app-content', 'flatpak/Kulki.desktop',
'--app-content', 'flatpak/Kulki.metainfo.xml'
]
}
}