-
Notifications
You must be signed in to change notification settings - Fork 11
/
build.gradle
54 lines (44 loc) · 1.16 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
allprojects {
apply plugin: 'maven'
apply plugin: 'jacoco'
group = 'nl.tudelft'
version = '1.0'
}
subprojects {
apply plugin: 'java'
sourceCompatibility = 1.8
targetCompatibility = 1.8
repositories {
mavenCentral()
jcenter()
}
dependencies {
// Have the static API and the test engine as dependencies (JUnit 5)
testCompile 'org.junit.jupiter:junit-jupiter-api:5.1.1'
testRuntime 'org.junit.jupiter:junit-jupiter-engine:5.1.1'
testCompile 'org.junit.jupiter:junit-jupiter-params:5.1.1'
testCompile 'org.assertj:assertj-core:3.9.0'
testCompile 'org.mockito:mockito-core:2.15.0'
}
test {
useJUnitPlatform()
jacoco {
append = false
destinationFile = file("$buildDir/jacoco/jacocoTest.exec")
}
}
jacocoTestReport {
reports {
csv.enabled false
xml.enabled true
html.enabled true
}
}
tasks.withType(FindBugs) {
ignoreFailures = true
reports {
xml.enabled = false
html.enabled = true
}
}
}