Right now, the best integrated Gradle Plugin for Eclipse, according to the Gradle webpage, is the plugin made by the SpringSource STS team. This plugin is very easy to install and it is all what you need to use Gradle in Eclipse.
Howto install it
In Eclipse, go to Help - Install New Software, we add the repository: http://dist.springsource.com/release/TOOLS/update/e4.2
(if this repository doesn't work for you, all the Spring repositories are on: http://www.springsource.org/STS-installation-instructions)
Then, search Gradle IDE in the respository and install it. That's all!
Howto create a new Graddle Project
In Eclipse, New - Other - Gradle Project.
Howto add a dependency from the Maven repository
You have to look for it at: http://search.maven.org/
Then, click on the lastest version (or another if you wish) and copy the Grails code.
In Eclipse, open the file build.gradle, and copy the Grails code inside the block: dependencies {}
Notice: maybe you have to refresh dependencies. It can be done through right click on the project, Gradle, Refresh dependencies.
No hay comentarios:
Publicar un comentario