build.gradle 734 B

1234567891011121314151617181920212223242526272829303132333435
  1. // Top-level build file where you can add configuration options common to all sub-projects/modules.
  2. allprojects {
  3. repositories {
  4. google()
  5. mavenCentral()
  6. }
  7. gradle.projectsEvaluated {
  8. tasks.withType(JavaCompile) {
  9. options.compilerArgs << "-Xlint:deprecation"
  10. }
  11. }
  12. }
  13. buildscript {
  14. repositories {
  15. google()
  16. mavenCentral()
  17. }
  18. dependencies {
  19. classpath 'com.android.tools.build:gradle:8.1.1'
  20. // NOTE: Do not place your application dependencies here; they belong
  21. // in the individual module build.gradle files
  22. }
  23. }
  24. task clean(type: Delete) {
  25. delete rootProject.buildDir
  26. }
  27. repositories {
  28. google()
  29. mavenCentral()
  30. }