// Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { repositories { google() jcenter() maven { url 'https://maven.aliyun.com/nexus/content/groups/public/' } maven { url 'https://maven.aliyun.com/nexus/content/repositories/jcenter' } } dependencies { //classpath 'com.android.tools.build:gradle:2.2.0' classpath 'com.android.tools.build:gradle:3.6.1' } } allprojects { repositories { google() jcenter() maven { url 'https://maven.aliyun.com/nexus/content/groups/public/' } maven { url 'https://maven.aliyun.com/nexus/content/repositories/jcenter' } maven { url "https://jitpack.io" } } }