valkolovos/gradle_cobertura — Issue #10: Plugin makes build fail if a set of tests are disabled.
Author: spina
Created: 2011-12-21 23:00:03+00:00
State: open

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.