Windows10安装配置gradle-6.5-bin.zip
1.下载安装包
https://services.gradle.org/distributions/
https://services.gradle.org/distributions/
https://mirrors.cloud.tencent.com/gradle/
https://mirrors.cloud.tencent.com/gradle/gradle-6.5-bin.zip
2.解压:E:\gradle\gradle-6.5
3.配置环境变量:
鼠标右击"此电脑"-->"属性"-->"高级系统设置"-->"环境变量"-->
# 在"系统变量"中创建变量:GRADLE_HOME=E:\gradle\gradle-6.5
# 在Path系统变量中追加:"E:\gradle\gradle-6.5\bin"
4.测试安装效果
# dos命令行界面输入:gradle -v
# 显示如下内容说明安装成功:
C:\Users\24016>gradle -v
Welcome to Gradle 6.5!
Here are the highlights of this release:
- Experimental file-system watching
- Improved version ordering
- New samples
For more details see https://docs.gradle.org/6.5/release-notes.html
------------------------------------------------------------
Gradle 6.5
------------------------------------------------------------
Build time: 2020-06-02 20:46:21 UTC
Revision: a27f41e4ae5e8a41ab9b19f8dd6d86d7b384dad4
Kotlin: 1.3.72
Groovy: 2.5.11
Ant: Apache Ant(TM) version 1.10.7 compiled on September 1 2019
JVM: 1.8.0_161 (Oracle Corporation 25.161-b12)
OS: Windows 10 10.0 amd64
C:\Users\24016>