build.gradle 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. // Top-level build file where you can add configuration options common to all sub-projects/modules.
  2. buildscript {
  3. ext.kotlin_version = "1.5.10"
  4. repositories {
  5. maven {url "https://maven.aliyun.com/repository/public"}
  6. maven {url "https://maven.aliyun.com/repository/central"}
  7. mavenCentral()
  8. google()
  9. jcenter()
  10. maven {
  11. url "https://jitpack.io"
  12. }
  13. }
  14. dependencies {
  15. classpath 'com.android.tools.build:gradle:3.6.3'
  16. // NOTE: Do not place your application dependencies here; they belong
  17. // in the individual module build.gradle files
  18. }
  19. }
  20. allprojects {
  21. repositories {
  22. maven {url "https://maven.aliyun.com/repository/public"}
  23. maven {url "https://maven.aliyun.com/repository/central"}
  24. mavenCentral()
  25. google()
  26. maven {
  27. url "https://jitpack.io"
  28. }
  29. jcenter()
  30. maven { url "https://oss.sonatype.org/content/repositories/snapshots" }
  31. }
  32. }
  33. task clean(type: Delete) {
  34. delete rootProject.buildDir
  35. }