[GRADLE-1572] The current EclipseModel does not allow to define additional tasks like eclipseJdt Created: 24/May/11 Updated: 04/Jan/13 Resolved: 15/Mar/12
There is a need for an extensible eclipse model that supports, or would allow to add additional tasks, for the generation of additional property files
Adding such tasks seems to conflict with the eclipseJdt task, resulting in the following error
While the system is flexible to configure the existing tasks, there seems to be no way right now for adding additional tasks.
|Comment by caiweiwei [ 10/Jan/12 ]|
|Comment by Szczepan Faber [ 15/Mar/12 ]|
You can create any number of tasks that generate some custom Eclipse metadata and hook them up to eclipse via (just an example):
Similarly, you can hook up cleanXxx takss to cleanEclipse
Current gradle contains abstract class PropertiesGeneratorTask that can be useful for generating files based on properties. Even without that, generating a file is very straightforward in groovy.
I'm inclined to close that issue because there is a natural way of solving the problem using standard Gradle features. Chance is I don't understand the use case well enough Feel free to comment or reopen.