// Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { repositories { maven { url 'https://maven.aliyun.com/nexus/content/groups/public/' } maven{ url'https://maven.aliyun.com/nexus/content/repositories/jcenter'} google() jcenter() } dependencies { classpath "com.android.tools.build:gradle:4.2.0" classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.60" classpath 'com.jakewharton:butterknife-gradle-plugin:10.2.1' } } allprojects { repositories { maven { url 'https://maven.aliyun.com/nexus/content/groups/public/' } maven{ url'https://maven.aliyun.com/nexus/content/repositories/jcenter'} google() jcenter() maven { url 'https://jitpack.io' } maven { url 'https://oss.sonatype.org/content/repositories/snapshots/' } } } task clean(type: Delete) { delete rootProject.buildDir }