apply from: 'dependencies.gradle' buildscript { repositories { //maven{ url 'http://maven.aliyun.com/nexus/content/groups/public/'} maven { url "https://jitpack.io" } jcenter() maven { url 'https://maven.google.com/' name 'Google' } maven { url 'https://dl.bintray.com/umsdk/release' } google() } dependencies { classpath 'com.android.tools.build:gradle:3.5.0' classpath "io.realm:realm-gradle-plugin:5.14.0" classpath 'com.google.gms:google-services:4.3.1' } } allprojects { repositories { //maven{ url 'http://maven.aliyun.com/nexus/content/groups/public/'} maven { url "https://jitpack.io" } google() jcenter() maven { url 'https://maven.google.com/' name 'Google' } mavenCentral() maven { url 'https://dl.bintray.com/umsdk/release' } } } ext { androidCompileSdkVersion = 26 androidBuildToolsVersion = '28.0.3' androidMinSdkVersion = 16 androidTargetSdkVersion = 26 } task clean(type: Delete) { delete rootProject.buildDir }