Skip to content

Commit a85e196

Browse files
author
Justin Ryan
committed
Adding cobertura
1 parent c2af08e commit a85e196

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

gradle/buildscript.gradle

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
// Executed in context of buildscript
2-
dependencies { classpath 'nl.javadude.gradle.plugins:license-gradle-plugin:0.6.0' }
3-
2+
dependencies {
3+
classpath 'nl.javadude.gradle.plugins:license-gradle-plugin:0.6.0'
4+
classpath 'com.mapvine:gradle-cobertura-plugin:0.1'
5+
}

gradle/check.gradle

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,11 @@ subprojects {
1515
apply plugin: 'pmd'
1616
//tasks.withType(Pmd) { reports.html.enabled true }
1717

18+
apply plugin: 'cobertura'
19+
cobertura {
20+
sourceDirs = sourceSets.main.java.srcDirs
21+
format = 'html'
22+
includes = ['**/*.java', '**/*.groovy']
23+
excludes = []
24+
}
1825
}

0 commit comments

Comments
 (0)