>
>>- How is the integration of Gradle with eclipse ? Is it somehow possible for
>>the developer to have a plugin with which one can enter / delete
>>dependencies and that is then transformed into gradle syntax.
>>Basically I want to free the developer to know about Gradle at all.
>>E.g. Defining the dependencies in a properties file which is then read by
>>the build process or any other way...
>
This would be possible without problems. It just needs to be written :)
For your scenario I could imagine the following strategy. You would write a
plugin that is used in all your builds. This plugin would do two things:
1.) Do what the template build script is supposed to do.
2.) Read the .classpath and configure the Gradle dependency section according
to that.
This plugin could be just another gradle script applied as described above.
You can do stuff in there like:
dependencies {
compile files(getDependenciesFromEclipse())
}
where getDependenciesFromEclipse returns for example a set of files.
The Groovy Xml API's are fantastic. Using those for parsing the .classpath
files should make implementing this very convenient.
Actually, there seems to be an ant4eclipse project
(http://www.ant4eclipse.org/) which already supports converting .classpath file
into ant pathId's:
http://3.ly/ISt6
Steven