12345678910111213141516171819202122232425262728293031323334 |
- buildscript {
- repositories {
- // jcenter()
- // google()
- maven { url 'https://maven.aliyun.com/repository/gradle-plugin' }
- maven { url 'https://maven.aliyun.com/nexus/content/repositories/google' }
- maven { url 'https://maven.aliyun.com/nexus/content/groups/public' }
- maven { url 'https://maven.aliyun.com/nexus/content/repositories/jcenter'}
- }
- dependencies {
- classpath 'com.android.tools.build:gradle:3.6.3'
- }
- }
- allprojects {
- repositories {
- // google()
- // mavenCentral()
- // jcenter() // Warning: this repository is going to shut down soon
- maven { url 'https://maven.aliyun.com/repository/gradle-plugin' }
- maven { url 'https://maven.aliyun.com/nexus/content/repositories/google' }
- maven { url 'https://maven.aliyun.com/nexus/content/groups/public' }
- maven { url 'https://maven.aliyun.com/nexus/content/repositories/jcenter'}
- flatDir {
- dirs 'libs' // aar目录
- }
- }
- }
- task clean(type: Delete) {
- delete rootProject.buildDir
- }
|