// Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { ext.kotlin_version = '1.5.0' repositories { google() maven { url 'https://maven.aliyun.com/repository/public/'} maven { url "https://s3.amazonaws.com/fabric-artifacts/public" } maven { url "https://maven.aliyun.com/repository/gradle-plugin" } maven { url "https://plugins.gradle.org/m2/" } } dependencies { classpath 'com.android.tools.build:gradle:4.2.1' //noinspection DifferentKotlinGradleVersion classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" classpath "de.timfreiheit.resourceplaceholders:placeholders:0.3" } } allprojects { repositories { google() maven { url 'https://maven.aliyun.com/repository/public/' } maven { url "https://jitpack.io" } maven { url "https://maven.google.com/" } } } task clean(type: Delete) { delete rootProject.buildDir }