12345678910111213141516171819202122232425262728293031323334 |
- buildscript {
- ext.kotlin_version = "1.5.20"
- repositories {
- maven { url 'https://maven.aliyun.com/nexus/content/groups/public/' }
- maven { url 'https://maven.aliyun.com/repository/public' } //mavenCentral()的镜像
- maven { url 'https://maven.aliyun.com/repository/google/' } //google()的镜像
- maven { url 'https://maven.aliyun.com/repository/jcenter' } //jcenter()的镜像
- maven { url 'https://jitpack.io' }
- google()
- mavenCentral()
- }
- dependencies {
- classpath "com.android.tools.build:gradle:8.1.3"
- classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.8.10'
- classpath "org.jetbrains.kotlin:kotlin-serialization:$kotlin_version"
- classpath 'com.alibaba:arouter-register:1.0.2'
- // NOTE: Do not place your application dependencies here; they belong
- // in the individual module build.gradle files
- }
- }
- allprojects {
- repositories {
- //google()
- // mavenCentral()
- // maven { url 'https://maven.aliyun.com/nexus/content/groups/public/' }
- // jcenter()
- // maven { url 'https://www.jitpack.io' }
- }
- }
- task clean(type: Delete) {
- delete rootProject.buildDir
- }
|