1, Place JDK: JAVA_HOME, D:\Java\jdk1.8.0_301,
Edit the PATH system variable and create: %JAVA_HOME%\bin, %JAVA_HOME%\jre\bin
2. Configure maven: MAVEN_HOME, D:\Java\apache-maven-3.5.2. Create the maven library directory: maven_repository
Edit the PATH system variable and create a new: %MAVEN_HOME%\bin
Modify the file settings.xml
local warehouse path
<localRepository>D:\Java\maven_repository</localRepository>
Configure Alibaba Cloud Image Warehouse Configuration
<mirror>
<id>nexus-aliyun</id>
<name>Nexus aliyun</name>
<url>https://maven.aliyun.com/nexus/content/groups/public/</url>
<mirrorOf>central</mirrorOf>
</mirror>
Configure global jdk
<profile>
<id>jdk18</id>
<activation>
<activeByDefault>true</activeByDefault>
<jdk>1.8</jdk>
</activation>
<properties>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<maven.compiler.compilerVersion>1.8</maven.compiler.compilerVersion>
</properties>
</profile>
3, Place gradle: GRADLE_HOME, D:\Java\gradle-5.6.2
Edit the PATH system variable and create a new: %GRADLE_HOME%\bin
4. Configure gradle and point to the local warehouse address: GRADLE_USER_HOME, D:\Java\gradle_repository