-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
41 lines (34 loc) · 1008 Bytes
/
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
plugins {
id 'java'
id 'application'
id "org.openjfx.javafxplugin" version "0.0.9"
id 'org.beryx.jlink' version '2.22.1'
}
group 'athensclub.speedtype'
version '1.0.3'
mainClassName = 'athensclub.speedtype.Main'
repositories {
mavenCentral()
}
dependencies {
implementation 'org.openjfx:javafx:15'
implementation 'com.jfoenix:jfoenix:9.0.10'
implementation 'org.fxmisc.richtext:richtextfx:0.10.5'
}
javafx {
version = 15
modules = ['javafx.controls', 'javafx.fxml']
}
jlink {
options = ['--strip-debug', '--compress', '2', '--no-header-files', '--no-man-pages']
launcher {
name = 'Typing Speed Test'
noConsole = true
}
addExtraDependencies("javafx")
jpackage { // windows only
icon = "src/main/resources/keyboard_icon.ico"
installerOptions += ['--win-per-user-install', '--win-dir-chooser', '--win-menu',
'--app-version', version]
}
}