Skip to content

Commit

Permalink
cobetura integration
Browse files Browse the repository at this point in the history
  • Loading branch information
mcorrea committed Sep 25, 2015
1 parent 16628f6 commit 4cd4e94
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions zuul-simple-webapp/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
plugins {
id 'net.saliman.cobertura' version '2.2.7'
}
apply plugin: 'war'
apply plugin: 'jetty'
apply plugin: 'cobertura'
apply plugin: 'groovy'


dependencies {
Expand Down Expand Up @@ -30,3 +35,8 @@ jettyRun.contextPath = '/'
jettyRun.doFirst {
System.setProperty("zuul.filter.root", "src/main/groovy/filters")
}

cobertura {
coverageSourceDirs = [sourceSets.main.groovy.srcDirs, sourceSets.main.java.srcDirs]
coverageFormats = ['xml', 'html']
}

0 comments on commit 4cd4e94

Please sign in to comment.