build.gradle 465 B

1234567891011121314151617181920
  1. // Top-level build file where you can add configuration options common to all sub-projects/modules.
  2. buildscript {
  3. repositories {
  4. jcenter()
  5. }
  6. dependencies {
  7. classpath 'com.android.tools.build:gradle:2.3.2'
  8. }
  9. }
  10. allprojects {
  11. repositories {
  12. jcenter()
  13. }
  14. gradle.projectsEvaluated {
  15. tasks.withType(JavaCompile) {
  16. options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation"
  17. }
  18. }
  19. }