build.gradle 1.0 KB

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