-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathbuild.gradle
More file actions
60 lines (50 loc) · 1.17 KB
/
build.gradle
File metadata and controls
60 lines (50 loc) · 1.17 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
buildscript {
repositories {
mavenCentral()
}
}
plugins {
id 'java'
id 'jacoco'
id 'application'
id 'com.gradleup.shadow' version '9.3.0'
id 'org.sonarqube' version '7.2.2.6593'
}
group = 'ca.craigthomas'
version = '1.0'
java {
sourceCompatibility = JavaVersion.VERSION_17
}
application {
mainClass.set("ca.craigthomas.yacoco3e.runner.Runner")
}
repositories {
mavenCentral()
}
dependencies {
implementation 'commons-io:commons-io:2.21.0'
implementation 'org.apache.commons:commons-lang3:3.20.0'
implementation 'com.beust:jcommander:1.82'
implementation 'org.yaml:snakeyaml:2.5'
implementation 'net.java.jinput:jinput:2.0.10'
runtimeOnly 'net.java.jinput:jinput-platform:2.0.7:natives-linux'
implementation 'net.java.jutils:jutils:1.0.0'
testImplementation 'junit:junit:4.13.2'
testImplementation 'org.mockito:mockito-core:5.21.0'
}
jacocoTestReport {
reports {
xml.required = true
html.required = true
}
}
task stage {
dependsOn shadowJar
}
test {
testLogging {
outputs.upToDateWhen {false}
showStandardStreams = true
}
}
check.dependsOn jacocoTestReport