diff --git a/zuul-simple-webapp/build.gradle b/zuul-simple-webapp/build.gradle index 7f21f769d5..318d0ff30a 100644 --- a/zuul-simple-webapp/build.gradle +++ b/zuul-simple-webapp/build.gradle @@ -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 { @@ -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'] +} \ No newline at end of file