valkolovos/gradle_cobertura — Issue #8: Introduce dedicated dependency for cobertura
Author: netmikey
Created: 2011-11-10 13:50:22+00:00
State: open

I currently have the issue that either the Cobertura jar itself or one of its dependencies lead to build issues in other (custom) gradle tasks. When I remove the buildscript cobertura dependency, my build works perfectly well.

In general, I think we should put as few jars as possible into the buildscript classpath to avoid classpath issues between plugins.

My suggestion is that you do it like the gradle antlr plugin: define your own dependency for the actual cobertura runtime (see http://gradle.org/current/docs/userguide/antlr_plugin.html#N13663 ). This might even enable you to loosen the coupling to the cobertura version used.