build.gradle 865 B

1234567891011121314151617181920212223242526
  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/google'}
  5. maven {url 'https://maven.aliyun.com/repository/gradle-plugin'}
  6. maven {url 'https://maven.aliyun.com/repository/public'}
  7. }
  8. dependencies {
  9. classpath 'com.android.tools.build:gradle:4.1.1'
  10. // NOTE: Do not place your application dependencies here; they belong
  11. // in the individual module build.gradle files
  12. }
  13. }
  14. allprojects {
  15. repositories {
  16. maven {url 'https://maven.aliyun.com/repository/google'}
  17. maven {url 'https://maven.aliyun.com/repository/gradle-plugin'}
  18. maven {url 'https://maven.aliyun.com/repository/public'}
  19. }
  20. }
  21. task clean(type: Delete) {
  22. delete rootProject.buildDir
  23. }