Skip to content

Commit

Permalink
Add code coverage report
Browse files Browse the repository at this point in the history
  • Loading branch information
eriwen committed Apr 6, 2013
1 parent f4b1388 commit 5b03603
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,17 @@
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'com.eriwen:gradle-cobertura-plugin:1.1.0'
}
}

apply plugin: 'groovy'
apply plugin: 'maven'
apply plugin: 'signing'
apply plugin: 'idea'
apply plugin: 'cobertura'

sourceCompatibility = '1.6'
targetCompatibility = '1.6'
Expand Down Expand Up @@ -60,6 +70,12 @@ task groovydocJar(type: Jar) {
from groovydoc
}

cobertura {
format = 'html'
includes = ['**/*.java', '**/*.groovy']
excludes = ['**/commonJs/**/*.*']
}

task wrapper(type: Wrapper) {
gradleVersion = '1.4'
}
Expand Down

0 comments on commit 5b03603

Please sign in to comment.