This article explains the first steps in getting familiar with Gradle for use with Eclipse IDE and Spring Framework. Gradle is a build automation tool combining the benefits of Ant and Maven developing tools.
As I would rather install minimum in my computer I am not going to install Gradle but I would rather use the Eclipse Integration Gradle plug-in. This is easily installed following the below instructions:
1. At the top of the Eclipse window, select “Help” -> “Install New Software”.
2. In the “Install New Software” dialog, click the “Add” button to add a new software site.
3. Enter any name for the repository it doesn’t really matter what you choose.
4. Enter the url of the Eclipse Integration Gradle plug-in: http://dist.springsource.com/release/TOOLS/gradle
5. Select the Gradle repository from the repository list.
6. Check the box next to “Extensions / Gradle Integration” -> “Gradle IDE”.
7. Hit “Next” twice, then accept the license agreement and click “Finish”.
To open a Gradle project in Eclipse you do as follows:
1. Open Eclipse. Select “File”->”Import”.
2. Select “Gradle Project”, under “Gradle”.
3. Locate the project. The project folder should contain a file called “build.gradle”. However this file may or may not show up in Eclipse’s filesystem browser.
4. Click “Build Model”, then check the box next to the project that should appear and click “Finish”.
As I would rather install minimum in my computer I am not going to install Gradle but I would rather use the Eclipse Integration Gradle plug-in. This is easily installed following the below instructions:
1. At the top of the Eclipse window, select “Help” -> “Install New Software”.
2. In the “Install New Software” dialog, click the “Add” button to add a new software site.
3. Enter any name for the repository it doesn’t really matter what you choose.
4. Enter the url of the Eclipse Integration Gradle plug-in: http://dist.springsource.com/release/TOOLS/gradle
5. Select the Gradle repository from the repository list.
6. Check the box next to “Extensions / Gradle Integration” -> “Gradle IDE”.
7. Hit “Next” twice, then accept the license agreement and click “Finish”.
To open a Gradle project in Eclipse you do as follows:
1. Open Eclipse. Select “File”->”Import”.
2. Select “Gradle Project”, under “Gradle”.
3. Locate the project. The project folder should contain a file called “build.gradle”. However this file may or may not show up in Eclipse’s filesystem browser.
4. Click “Build Model”, then check the box next to the project that should appear and click “Finish”.