grails/grails-gradle-plugin — Issue #11: Unable to apply Java/Eclipse plugins due to 'clean' task name collision
Author: sixman9
Created: 2011-10-13 00:17:40+00:00
State: open

Hi,
I'd like to generate Eclipse project files from build.gradle, ultimately containing the Grails-plugin-related dependencies within the generated Eclipse '.classpath' file etc. Problem is, your Grails plugin's 'clean' task displays a naming 'collision' with the [Java plugin][1]'s version (the Java plugin is required by the [Eclipse plugin][2]). This results in:

* What went wrong:
A problem occurred evaluating root project 'gradleGrailsBase'.
Cause: Cannot add task ':clean' as a task with that name already exists.

Is there some way around this, or will plugin task naming collisions be a potential Gradle problem?

Cheers

Rich

[1]: http://gradle.org/java_plugin

[2]: http://gradle.org/eclipse_plugin