gradle_cobertura
gradle_cobertura copied to clipboard
Plugin makes build fail if a set of tests are disabled.
If one of my build files contains this line:
test.enabled = false
The the build fails if when I run 'gradle cobertura'.
If I put in these lines:
coberturaXml.enabled = false cobertura.enabled = false
Then the build works again. It seems like disabling tests should be all that I need to do. I'm using cobertura like this:
buildscript {
// using a variable to make wiki look cleaner
def githubBase = 'https://github.com/valkolovos/gradle_cobertura/raw/master/ivy'
apply from: "${githubBase}/gradle_cobertura/gradle_cobertura/1.0-rc4/coberturainit.gradle"
}
along with Gradle version 1.0-milestone-6.
This can be reproduced through the command line. Run gradle -x