apply from: "config.gradle" buildscript { ext.kotlin_version = '1.3.41' repositories { maven { url "http://maven.aliyun.com/nexus/content/groups/public/" } google() jcenter() maven { url "https://jitpack.io" } } dependencies { classpath 'com.android.tools.build:gradle:3.5.0' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files } } allprojects { repositories { maven { url "http://maven.aliyun.com/nexus/content/groups/public/" } google() jcenter() maven { url "https://jitpack.io" } } } task clean(type: Delete) { delete rootProject.buildDir }