Skip to content

Commit

Permalink
[SHIBUI-628]
Browse files Browse the repository at this point in the history
Added JaCoCo to the build using mostly the defaults. More to come.
  • Loading branch information
Bill Smith committed Jun 28, 2018
1 parent 3659adc commit 82d6523
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions backend/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ plugins {
}

apply plugin: 'io.spring.dependency-management'
apply plugin: 'jacoco'

sourceCompatibility = 1.8
targetCompatibility = 1.8
Expand Down Expand Up @@ -191,3 +192,15 @@ tasks.withType(JavaExec) {
compileJava {
dependsOn generateSources
}

jacoco {
toolVersion = '0.8.1'
}

jacocoTestReport {
reports {
xml.enabled = false
csv.enabled = false
html.destination = file("${buildDir}/jacocoHtml")
}
}

0 comments on commit 82d6523

Please sign in to comment.