On 8/08/10 6:30 AM, Michael Plump wrote:
Is there a way to remove a dependency? I would like to remove the dependency on "check" from the "build" task. The dependency is created by the Java plugin. Is there a way to yank it at some point after it has been created? (Or, I suppose, prevent it from being created at all?)
You can't remove a dependency as such, but you can overwrite the dependencies of a task. So, you can do something like this, after you've applied the jar plugin:
build.dependsOn = [assemble] I'm curious why you can to get rid of check, if you don't mind me asking? -- Adam Murdoch Gradle Developer http://www.gradle.org CTO, Gradle Inc. - Gradle Training, Support, Consulting http://www.gradle.biz --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
