// Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { ext { kotlin_version = '1.5.10' } repositories { google() //jcenter() maven { url 'https://developer.huawei.com/repo/' } maven { url 'https://maven.aliyun.com/repository/google' } maven { url 'https://maven.aliyun.com/repository/central' } maven { url 'https://maven.aliyun.com/repository/jcenter' } maven { url 'https://maven.aliyun.com/repository/gradle-plugin' } maven { url 'https://mvnrepository.com/artifact/com.netease.nimlib/chatroom' } maven { url 'https://maven.columbus.heytapmobi.com/repository/releases/' } maven { url 'https://maven.faceunity.com/repository/maven-public/' } maven { url 'https://artifact.bytedance.com/repository/Volcengine/' } maven { url 'https://developer.hihonor.com/repo' } } dependencies { classpath 'com.android.tools.build:gradle:4.2.2' classpath 'com.huawei.agconnect:agcp:1.5.2.300' classpath 'com.hihonor.mcs:asplugin:2.0.1.300' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.6.20" // classpath "com.github.qq549631030:android-junk-code:1.2.2"//自动生成无用代码 // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files } } allprojects { repositories { google() //jcenter() maven { url 'https://mvnrepository.com/artifact/com.netease.nimlib/chatroom' } maven { url 'https://maven.aliyun.com/repository/google' } maven { url 'https://maven.aliyun.com/repository/central' } maven { url 'https://maven.aliyun.com/repository/jcenter' } maven { url 'https://maven.aliyun.com/repository/gradle-plugin' } maven { url "https://jitpack.io" } maven { url 'https://developer.huawei.com/repo/' } maven { url 'https://maven.columbus.heytapmobi.com/repository/releases/' } maven { url 'https://maven.faceunity.com/repository/maven-public/' } maven { url 'https://artifact.bytedance.com/repository/Volcengine/' } maven { url 'https://developer.hihonor.com/repo' } } } task clean(type: Delete) { delete rootProject.buildDir }