39 lines
1.3 KiB
Groovy
39 lines
1.3 KiB
Groovy
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
|
|
|
buildscript {
|
|
repositories {
|
|
maven { url 'http://maven.aliyun.com/nexus/content/groups/public/' }
|
|
maven{ url 'http://maven.aliyun.com/nexus/content/repositories/jcenter'}
|
|
google()
|
|
jcenter()
|
|
maven { url 'https://developer.huawei.com/repo/' }
|
|
maven { url 'https://developer.huawei.com/repo/' }
|
|
}
|
|
dependencies {
|
|
classpath 'com.android.tools.build:gradle:3.5.3'
|
|
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7.3'
|
|
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.5'
|
|
// NOTE: Do not place your application dependencies here; they belong
|
|
// in the individual module build.gradle files
|
|
}
|
|
}
|
|
|
|
allprojects {
|
|
repositories {
|
|
flatDir {
|
|
dirs 'libs'
|
|
}
|
|
maven { url 'http://maven.aliyun.com/nexus/content/groups/public/' }
|
|
maven{ url 'http://maven.aliyun.com/nexus/content/repositories/jcenter'}
|
|
google()
|
|
jcenter()
|
|
mavenCentral()
|
|
maven { url 'https://jitpack.io' }
|
|
maven { url 'https://developer.huawei.com/repo/' }//华为推送
|
|
}
|
|
}
|
|
|
|
task clean(type: Delete) {
|
|
delete rootProject.buildDir
|
|
}
|