build.gradle 870 B

123456789101112131415161718192021222324252627282930
  1. // Top-level build file where you can add configuration options common to all sub-projects/modules.
  2. buildscript {
  3. repositories {
  4. maven { url 'https://maven.aliyun.com/repository/jcenter' }
  5. maven { url 'https://maven.aliyun.com/repository/google' }
  6. google()
  7. jcenter()
  8. }
  9. dependencies {
  10. classpath 'com.android.tools.build:gradle:3.6.2'
  11. // NOTE: Do not place your application dependencies here; they belong
  12. // in the individual module build.gradle files
  13. }
  14. }
  15. allprojects {
  16. repositories {
  17. maven { url 'https://maven.aliyun.com/repository/jcenter' }
  18. maven { url 'https://maven.aliyun.com/repository/central' }
  19. maven { url 'https://maven.aliyun.com/repository/google' }
  20. google()
  21. jcenter()
  22. }
  23. }
  24. task clean(type: Delete) {
  25. delete rootProject.buildDir
  26. }