forked from ArnoKappe/MetaG
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
53 lines (39 loc) · 965 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
42
43
44
45
46
47
48
49
50
51
52
53
plugins {
id 'java'
id 'application'
id 'org.javamodularity.moduleplugin' version '1.8.10'
id 'org.beryx.jlink' version '2.24.1'
}
group 'eu.kwr-hannover.jufo'
version '2023.2.0'
repositories {
mavenCentral()
}
ext {
junitVersion = '5.8.2'
}
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
application {
mainModule = 'eu.kwrhannover.jufo.alethieg'
mainClass = 'eu.kwrhannover.jufo.alethieg.AlethieG'
}
dependencies {
implementation 'colt:colt:1.2.0'
testImplementation("org.junit.jupiter:junit-jupiter-api:${junitVersion}")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:${junitVersion}")
}
test {
useJUnitPlatform()
}
jlink {
imageZip = project.file("${buildDir}/distributions/${name}-${version}.zip")
options = ['--strip-debug', '--compress', '2', '--no-header-files', '--no-man-pages']
}
jlinkZip {
group = 'distribution'
}
compileJava {
options.release = 10
}