build.gradle 752 B

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