First, install Gradle:
1. Download the Gradle binary installation package
Address: https://gradle.org/install/, for example, to download a binary package.
2. Unzip the installation package to local, such as: C:\software\gradle4.6 path
3. Configure Environment variables:
Gradle_home:c:\ Learning \gradle4.6
Path:;%gradle_home%\bin
4. See if the installation was successful:
Run command prompt as administrator, enter: Gradle–v Enter
Appears as if the installation was successful.
5. Configure the Gradle path in eclipse
Then, you need to configure the path of the Gradle to eclipse, as shown in
Second, install Gradle plug-in:
There are three ways to install the Gradle plugin in eclipse:
First type: Help/install new software Online installation
(1) Online Installation address guide:
Https://github.com/eclipse/buildship/blob/master/docs/user/Installation.md
Find the plugin version link for the different versions of Eclipse, as shown in the address above.
Locate the corresponding version of Eclipse copy link.
(2) Open Eclipse, and then follow these steps:
The second type: Help/eclipse Marketplace online Installation
(1) Open Eclipse, and then follow these steps:
(2) Search Gradle, select Buildship to install.
The third type: Offline installation, download Gradle plug-in package
The steps are as follows:
1. Open the URL: Https://spring.io/tools/sts/all, find the compression package that matches your eclipse version and download it.
2, decompression can see this is an Eclipse plug-in form of the package, will need to install the plugin to pick out or the entire file
In the corresponding folder in eclipse (mainly features and plugins folders).
3. Then close eclipse, delete the Configuration\org.eclipse.update folder in the Eclipse installation directory,
Then open eclipse to see the plug-in that has been successfully installed.
Gradle Install and configure the Gradle plugin in the +eclipse