1.安装gradle,解压到指定目录,添加环境变量,我这里安装到/opt了
2. 修改 gradle/wrapper/gradle-wrapper.properties,添加下面内容
distributionUrl=/opt/gradle distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStorePath=wrapper/dists zipStoreBase=GRADLE_USER_HOME
3. 修改IDEA Gradle 配置