// Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { ext.kotlin_version = '1.4.21' repositories { jcenter(){ url 'https://maven.aliyun.com/repository/public/'} maven{ url 'https://maven.aliyun.com/repository/public/'} maven { url "https://jitpack.io" } maven { url = uri("https://plugins.gradle.org/m2/") } google() } dependencies { classpath 'com.android.tools.build:gradle:4.1.2' classpath "com.alibaba:arouter-register:1.0.2" classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" classpath "org.jetbrains.kotlin:kotlin-android-extensions:$kotlin_version" //classpath 'com.jakewharton:butterknife-gradle-plugin:10.2.1' // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files } } allprojects { repositories { jcenter(){ url 'https://maven.aliyun.com/repository/public/'} maven { url "https://jitpack.io" } maven { url "http://dl.bintray.com/pixplicity/android" } maven { url "https://oss.jfrog.org/libs-snapshot" } google() } } task clean(type: Delete) { delete rootProject.buildDir }