44 lines
1.2 KiB
Groovy
44 lines
1.2 KiB
Groovy
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
|
buildscript {
|
|
repositories {
|
|
jcenter()
|
|
google()
|
|
// maven {
|
|
// name 'Sonatype SNAPSHOTs'
|
|
// url 'https://oss.sonatype.org/content/repositories/snapshots/'
|
|
// }
|
|
|
|
}
|
|
dependencies {
|
|
classpath 'com.android.tools.build:gradle:3.3.0'
|
|
//classpath 'com.jakewharton:butterknife-gradle-plugin:9.0.0'
|
|
classpath 'com.jakewharton:butterknife-gradle-plugin:9.0.0'
|
|
// classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8'
|
|
}
|
|
}
|
|
|
|
allprojects {
|
|
// gradle.projectsEvaluated {
|
|
// tasks.withType(JavaCompile) {
|
|
// options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation"
|
|
|
|
// }
|
|
// }
|
|
repositories {
|
|
jcenter()
|
|
google()
|
|
maven {
|
|
url "https://raw.githubusercontent.com/umeng/mvn-repo-umeng/master/repository" }
|
|
|
|
// maven {
|
|
// name 'Sonatype SNAPSHOTs'
|
|
// url 'https://oss.sonatype.org/content/repositories/snapshots/'
|
|
// }
|
|
}
|
|
}
|
|
task clean(type: Delete) {
|
|
delete rootProject.buildDir
|
|
}
|
|
//tasks.withType(JavaCompile) {
|
|
// options.encoding = "GBK"
|
|
//} |