Skip to content

Commit

Permalink
更换国内镜像源
Browse files Browse the repository at this point in the history
  • Loading branch information
caoyanglee committed Dec 11, 2021
1 parent 63fedcc commit 6e359fc
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ buildscript {
//常规
ext.kotlin_version = '1.6.0'
repositories {
jcenter()
google()
mavenCentral()
maven { url 'https://maven.aliyun.com/repository/public' }//阿里云 maven & jcenter
maven { url "https://jitpack.io" } // 添加jitpack
maven { url 'https://maven.aliyun.com/repository/google' }//阿里云 google
}
dependencies {
classpath 'com.android.tools.build:gradle:7.0.3'
Expand All @@ -30,10 +30,9 @@ buildscript {

allprojects {
repositories {
mavenCentral()
jcenter()
google()
maven { url "https://jitpack.io" }
maven { url 'https://maven.aliyun.com/repository/public' }//阿里云 maven & jcenter
maven { url "https://jitpack.io" } // 添加jitpack
maven { url 'https://maven.aliyun.com/repository/google' }//阿里云 google
}
//加上这些
tasks.withType(Javadoc) {
Expand Down

0 comments on commit 6e359fc

Please sign in to comment.