You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
smallblue/build.gradle

40 lines
1.2 KiB

4 years ago
// Top-level build file where you can add configuration options common to all sub-projects/modules.
apply from: 'config.gradle'
buildscript {
repositories {
mavenCentral()
google()
jcenter()
maven { url 'http://maven.aliyun.com/nexus/content/groups/public/' }
maven { url 'https://dl.bintray.com/yingzi/maven' }
maven { url 'http://nexus.yingzi.site/repository/maven-public/' }
}
dependencies {
classpath 'com.android.tools.build:gradle:3.2.1'
classpath 'com.jakewharton:butterknife-gradle-plugin:8.4.0' //使用注解插件添加这行
classpath 'com.novoda:bintray-release:0.9.1'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
flatDir {
dirs 'libs', projectDir.getPath() + "/libs"
}
mavenCentral()
google()
jcenter()
maven { url 'https://jitpack.io' }
maven { url 'https://dl.bintray.com/yingzi/maven' }
maven { url 'http://nexus.yingzi.site/repository/maven-public/' }
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}