123456789101112131415161718192021222324252627282930313233343536373839404142 |
- // Top-level build file where you can add configuration options common to all sub-projects/modules.
- apply from: "config.gradle"
- buildscript {
- repositories {
- google()
- // jcenter()
- mavenCentral()
- // maven { url 'https://maven.aliyun.com/repository/google' }
- // maven { url 'https://maven.aliyun.com/repository/jcenter' }
- // maven { url 'http://maven.aliyun.com/nexus/content/groups/public' }
- maven { url 'https://maven.aliyun.com/repository/public' }
- maven { url 'https://maven.google.com' }
- maven { url 'https://jitpack.io' }
- }
- dependencies {
- classpath 'com.android.tools.build:gradle:3.5.3'
- classpath 'org.greenrobot:greendao-gradle-plugin:3.3.0'//greenDao生产代码插件
- classpath 'com.novoda:bintray-release:0.7.0'
- }
- }
- allprojects {
- repositories {
- google()
- jcenter()
- mavenCentral()
- // //引用网上github路径,以便引入第三方库
- maven { url "https://jitpack.io" }
- maven { url 'https://maven.aliyun.com/repository/google' }
- maven { url 'https://maven.aliyun.com/repository/jcenter' }
- maven { url 'http://maven.aliyun.com/nexus/content/groups/public' }
- maven {
- url "http://mvn.gt.igexin.com/nexus/content/repositories/releases/"
- }
- }
- }
- task clean(type: Delete) {
- delete rootProject.buildDir
- }
|