build.gradle 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  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. maven { url "https://jitpack.io" }
  7. // maven {
  8. // url 'http://maven.aliyun.com/nexus/content/groups/public/'
  9. // }
  10. // maven { url 'https://maven.aliyun.com/repository/gradle-plugin' }
  11. // maven { url 'https://maven.aliyun.com/repository/google' }
  12. // maven {url 'https://dl.bintray.com/jetbrains/anko'}
  13. jcenter()
  14. }
  15. dependencies {
  16. classpath "com.android.tools.build:gradle:4.2.1"
  17. // NOTE: Do not place your application dependencies here; they belong
  18. // in the individual module build.gradle files
  19. }
  20. }
  21. allprojects {
  22. repositories {
  23. google()
  24. mavenCentral()
  25. jcenter() // Warning: this repository is going to shut down soon
  26. // maven {
  27. // url 'http://maven.aliyun.com/nexus/content/groups/public/'
  28. // }
  29. // maven { url 'https://maven.aliyun.com/repository/gradle-plugin' }
  30. // maven { url 'https://maven.aliyun.com/repository/google' }
  31. // maven {url 'https://dl.bintray.com/jetbrains/anko'}
  32. // maven {url "https://maven.google.com"}
  33. maven { url 'https://www.jitpack.io' }
  34. }
  35. }
  36. task clean(type: Delete) {
  37. delete rootProject.buildDir
  38. }