buildscript { ext.kotlin_version = "1.5.20" repositories { maven { url 'https://maven.aliyun.com/nexus/content/groups/public/' } google() mavenCentral() } dependencies { classpath "com.android.tools.build:gradle:4.2.2" classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.7.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 }