// Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { repositories { maven { url 'http://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.6.21' classpath "com.alibaba:arouter-register:1.0.2" } } allprojects { repositories { flatDir { dirs 'libs' } google() mavenCentral() jcenter() maven { url 'https://www.jitpack.io' } maven { url 'http://maven.aliyun.com/nexus/content/groups/public/' } } } task clean(type: Delete) { delete rootProject.buildDir }