-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathbuild.gradle
More file actions
57 lines (47 loc) · 1.01 KB
/
build.gradle
File metadata and controls
57 lines (47 loc) · 1.01 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
buildscript {
repositories {
mavenCentral()
}
}
plugins {
id 'java'
id 'jacoco'
id 'application'
id 'com.gradleup.shadow' version '9.3.0'
id 'org.sonarqube' version '7.2.0.6526'
}
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'
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