This chapter explains about the integration of eclipse and Gradle. Follow the below given steps for adding Gradle plugin to eclipse.
First of all open the eclipse which is installed in your system. Go to help -> click on EclipseMarketplace. Take a look into the following screenshot.
After click on the Eclipse Marketplace there you will find the following screenshot. Here in the left side search bar type buildship. Buildship is a Gradle integration plugin. When you find the buildship on your screen click on install on the right side. Take a look into the following screenshot.
After that you will find the following screenshot there you need to confirm the software installation by click on the confirm button. Take a look into the following screenshot.
After that you need to click on accept license agreement in the following screen and click finish. Take a look into the following screenshot.
It will take some time to install. Take a look at the following screenshot.
After that, it will ask for restarting Eclipse. There you will select Yes.
While verifying we will create a new project by following given procedure. In the eclipse go to file -> click on new-> click on other projects. There you will find the following screen. There select Gradle project and click next. Take a look into the following screen shot.
After clicking next button there you will find the following screen. There you will provide the Gradle home directory path of local file system and click on next button. Take a look into the following screenshot.
Take a look into the following screenshot here you will provide the name for Gradle project. In this tutorial we are using demoproject and click finish button.
Take a look into the following screenshot there we need to confirm the project. For that we have click finish button in the following screen.
After successful installation of Gradle plugin, please check the demo project directory structure for the default files and folders as shown in the following screenshot.