文件下载地址
- gradle-> wrapper- > gradle-wrapper.properties
默认安装位置
- ~/. gradle
- 当前项目 ~/. gradle
下载地址
设置grable jdk
- Preferences | Build, Execution, Deployment | Build Tools | Gradle
- 不要勾选 Gererate * iml
- 勾选下载 Downlaod extranal
版本设置
- build.gradle sourceCompatibility
- build and run 设置需要一样
设置中央仓库
maven { url 'https://maven.aliyun.com/repository/jcenter' }
maven { url 'https://maven.aliyun.com/repository/google' }
maven { url 'https://maven.aliyun.com/repository/central' }
maven { url 'https://maven.aliyun.com/repository/gradle-plugin' }
maven { url 'https://maven.aliyun.com/repository/apache-snapshots' }
mavenCentral()
标签:repository,url,com,idea,gradle,maven,https,安装
From: https://www.cnblogs.com/guanchaoguo/p/17164196.html