-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
91 lines (74 loc) · 1.95 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
plugins {
id 'application'
id 'org.beryx.jlink' version '2.24.1'
id 'info.solidsoft.pitest' version '1.7.0'
id 'org.openjfx.javafxplugin' version '0.0.11'
id 'org.javamodularity.moduleplugin' version '1.8.10'
}
allprojects {
apply plugin: 'java'
apply plugin: 'jacoco'
group 'jasmine.jragon'
version '0.23.3'
sourceCompatibility = '16'
targetCompatibility = '16'
repositories {
mavenCentral()
}
compileJava {
options.encoding("UTF-8")
}
compileTestJava {
options.encoding("UTF-8")
}
dependencies {
implementation 'org.javatuples:javatuples:1.2'
implementation 'org.jetbrains:annotations:22.0.0'
testImplementation 'org.testng:testng:7.5'
testImplementation 'org.slf4j:slf4j-api:1.7.35'
testImplementation 'org.slf4j:slf4j-simple:1.7.36'
testImplementation 'nl.jqno.equalsverifier:equalsverifier:3.9'
}
jacocoTestReport {
reports.xml.enabled(true)
}
}
subprojects {
dependencies {
implementation 'com.opencsv:opencsv:5.5.2'
implementation 'org.jgrapht:jgrapht-ext:1.5.1'
}
}
application {
mainModule = 'bomb'
mainClass = 'bomb.HelloApplication'
// mainClass = 'bomb.Main'
}
javafx {
version = '17.0.1'
modules = ['javafx.controls', 'javafx.fxml']
}
dependencies {
implementation project(':core')
implementation project(':utility')
implementation('com.jfoenix:jfoenix:9.0.4') {
exclude group: "org.javafx"
}
implementation('io.github.palexdev:materialfx:11.12.0') {
exclude group: "org.javafx"
}
}
test {
useTestNG()
// finalizedBy(jacocoTestReport)
}
jlink {
imageZip = project.file("${buildDir}/distributions/app-${javafx.platform.classifier}.zip")
options = ['--strip-debug', '--compress', '2', '--no-header-files', '--no-man-pages']
launcher {
name = 'app'
}
}
jlinkZip {
group = 'distribution'
}