|
|
@ -3,11 +3,14 @@ |
|
|
|
buildscript { |
|
|
|
buildscript { |
|
|
|
ext.kotlin_version = '1.6.10' |
|
|
|
ext.kotlin_version = '1.6.10' |
|
|
|
repositories { |
|
|
|
repositories { |
|
|
|
|
|
|
|
//原仓库 |
|
|
|
google() |
|
|
|
google() |
|
|
|
mavenCentral() |
|
|
|
mavenCentral() |
|
|
|
maven { url 'https://plugins.gradle.org/m2/' } |
|
|
|
maven { url 'https://plugins.gradle.org/m2/' } |
|
|
|
maven { url 'https://maven.aliyun.com/repository/public' } |
|
|
|
//镜像仓库,无法连接源仓库自行启用镜像仓库,不要提交修改 |
|
|
|
maven { url 'https://maven.aliyun.com/repository/gradle-plugin' } |
|
|
|
//maven { url 'https://maven.aliyun.com/repository/google' } |
|
|
|
|
|
|
|
//maven { url 'https://maven.aliyun.com/repository/public' } |
|
|
|
|
|
|
|
//maven { url 'https://maven.aliyun.com/repository/gradle-plugin' } |
|
|
|
} |
|
|
|
} |
|
|
|
dependencies { |
|
|
|
dependencies { |
|
|
|
classpath 'com.android.tools.build:gradle:7.0.4' |
|
|
|
classpath 'com.android.tools.build:gradle:7.0.4' |
|
|
@ -19,10 +22,13 @@ buildscript { |
|
|
|
|
|
|
|
|
|
|
|
allprojects { |
|
|
|
allprojects { |
|
|
|
repositories { |
|
|
|
repositories { |
|
|
|
|
|
|
|
//原仓库 |
|
|
|
google() |
|
|
|
google() |
|
|
|
mavenCentral() |
|
|
|
mavenCentral() |
|
|
|
maven { url 'https://maven.aliyun.com/repository/public' } |
|
|
|
|
|
|
|
maven { url 'https://jitpack.io' } |
|
|
|
maven { url 'https://jitpack.io' } |
|
|
|
|
|
|
|
//镜像仓库,无法连接源仓库自行启用镜像仓库,不要提交修改 |
|
|
|
|
|
|
|
//maven { url 'https://maven.aliyun.com/repository/google' } |
|
|
|
|
|
|
|
//maven { url 'https://maven.aliyun.com/repository/public' } |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|