I. Introduction
Installation SpringBoot,
Install Gradle
Use Gradle compile the project
Second, the main content
1, the installation SpringBoot
(1) to the official website to download: https://spring.io/tools/sts/all
(2) Open eclipse -> help
(3) Double-click Add ---- Click to go to find the location just downloaded file ------ name custom (and here I was springBoot)
(4) appears as shown below, the hook behind after the addition of the IDE
(5) After the restart eclipse into the window ----> preferences ----> if the installation was successful spring
2, install Gradle
(1) go to the official website to download https://services.gradle.org/distributions/
(2) Extract the downloaded file in the previous step into a directory (Here is my directory)
(3) java environment variables and configuration similar find my computer --- "Properties ===" Advanced Settings
Create a path you've just behind GRADLE_HOME is stored:
Configuring path as follows:
(4) to save Test: Punch cmd input gradle -v test whether the installation is successful
3, the project is compiled using Gradle
(1)创建项目:https://start.spring.io/
(2)创建好项目之后将项目文件保存下来,并解压, 进入这个项目文件夹
(3)编译解压好的项目
(4)将编译好的项目导入到eclipse中(eclipse会自动安装Gradle)
(5)一直next找到刚刚编译好的项目,然后finish
时间会比较久,大家请耐心等待(20分钟)
(6)测试:window--prefrenence出现Gradle则成功
三、总结