配置环境变量
打开命令窗口,输入 gradle -v
IDEA配置gradle:file->settings->gradle
file->other->settings->default settings
验证安装 C:UsersAdministrator>gradle -vWelcome to Gradle 4.5!Here are the highlights of this release: - Dependency locking - Maven Publish and Ivy Publish plugins improved and marked stable - Incremental annotation processing enhancements - APIs to configure tasks at creation timeFor more details see https://docs.gradle.org/4.5/release-notes.html------------------------------------------------------------Gradle 4.5------------------------------------------------------------Build time: 2018-06-04 10:39:58 UTCRevision: 9e1261240e412cbf61a5e3a5ab734f232b2f887dGroovy: 2.4.12Ant: Apache Ant(TM) version 1.9.11 compiled on March 23 2018JVM: 1.8.0_121 (Oracle Corporation 25.121-b13)OS: Windows 10 10.0 amd64C:UsersAdministrator>原文地址:https://www.cnblogs.com/bunana/p/8532510.html
转载于:https://www.cnblogs.com/boonya/p/9178646.html