// Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { repositories { maven { url 'https://developer.huawei.com/repo/' } google() jcenter() mavenCentral() } dependencies { classpath 'com.android.tools.build:gradle:3.5.4' classpath 'com.huawei.agconnect:agcp:1.6.0.300' } } allprojects { repositories { maven { url 'https://developer.huawei.com/repo/' } google() jcenter() mavenCentral() } } task clean(type: Delete) { delete rootProject.buildDir }