-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtestModule.gradle
More file actions
41 lines (35 loc) · 828 Bytes
/
testModule.gradle
File metadata and controls
41 lines (35 loc) · 828 Bytes
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
apply plugin: "groovy"
apply plugin: "jacoco"
dependencies {
testCompile commonDependencies.groovy
testCompile commonDependencies.spock
testCompile commonDependencies.junit
testCompile commonDependencies.cglib
testCompile commonDependencies.objenesis
}
tasks.withType(GroovyCompile) {
compileGroovy.options.encoding = "UTF-8"
}
jacoco {
toolVersion = "0.8.2"
}
test {
testLogging {
events "PASSED", "FAILED", "SKIPPED"
exceptionFormat "full"
showStandardStreams true
showStackTraces true
showExceptions true
showCauses true
}
jacoco {
destinationFile = file("$buildDir/jacoco/jacocoTest.exec")
}
}
check.dependsOn jacocoTestReport
jacocoTestReport {
reports {
xml.enabled true
csv.enabled false
}
}