// Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { repositories { google() jcenter() mavenCentral() } dependencies { classpath 'com.android.tools.build:gradle:3.1.0' classpath 'com.jakewharton:butterknife-gradle-plugin:9.0.0' classpath 'org.greenrobot:greendao-gradle-plugin:3.2.2' // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files } } allprojects { repositories { google() jcenter() mavenCentral() maven { url "https://www.jitpack.io" } maven { url 'https://maven.google.com/' name 'Google' } maven {url 'http://developer.huawei.com/repo/'} // flatDir { // // 下把Library module中的libs目录添加到依赖关系中 // dirs project(':hmspush').file('libs') // } } } task clean(type: Delete) { delete rootProject.buildDir }