2016-12-20 22:07:00 +08:00
|
|
|
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
|
|
|
buildscript {
|
|
|
|
repositories {
|
|
|
|
jcenter()
|
|
|
|
}
|
|
|
|
dependencies {
|
2017-02-15 22:47:05 +08:00
|
|
|
classpath 'com.android.tools.build:gradle:2.2.3'
|
2016-12-20 22:07:00 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
allprojects {
|
2017-02-15 22:47:05 +08:00
|
|
|
gradle.projectsEvaluated {
|
|
|
|
tasks.withType(JavaCompile) {
|
|
|
|
// options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation"
|
|
|
|
}
|
|
|
|
}
|
2016-12-20 22:07:00 +08:00
|
|
|
repositories {
|
|
|
|
jcenter()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
//tasks.withType(JavaCompile) {
|
|
|
|
// options.encoding = "GBK"
|
|
|
|
//}
|