We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c9d53a commit 7031f89Copy full SHA for 7031f89
build.gradle
@@ -13,6 +13,7 @@ buildscript {
13
apply plugin: 'java'
14
apply plugin: 'eclipse'
15
apply plugin: 'org.springframework.boot'
16
+apply plugin: 'jacoco'
17
18
group = 'com.redknee'
19
version = '0.0.1-SNAPSHOT'
@@ -33,3 +34,19 @@ dependencies {
33
34
35
testCompile('org.springframework.boot:spring-boot-starter-test')
36
}
37
+
38
+jacocoTestReport {
39
40
+ reports {
41
+ xml.enabled true
42
+ csv.enabled true
43
+ html.destination "${buildDir}/jacoco-ut"
44
+ }
45
46
+ afterEvaluate {
47
+ classDirectories = files(classDirectories.files.collect {
48
+ fileTree(dir: it,
49
+ exclude: ['test/**', '/*Test*.class'])
50
+ })
51
52
+}
0 commit comments