Skip to content

Commit

Permalink
Add code coverage to build
Browse files Browse the repository at this point in the history
  • Loading branch information
gcurtis committed Sep 10, 2014
1 parent 59c4ef2 commit 9496aba
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
apply plugin: 'checkstyle'
apply plugin: 'java'
apply plugin: 'jacoco'

sourceCompatibility = 1.7

Expand Down Expand Up @@ -38,6 +39,11 @@ tasks.withType(Test) {
exceptionFormat = 'full'
testLogging.showStandardStreams = true
}

jacoco {
append = true
destinationFile = file("$buildDir/jacoco/test.exec")
}
}

test {
Expand Down

0 comments on commit 9496aba

Please sign in to comment.