爱思开(JAVA)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

43 lines
1.4 KiB

2 years ago
  1. ext {
  2. var = '3.5.0-beta01'
  3. }// Top-level build file where you can add configuration options common to all sub-projects/modules.
  4. buildscript {
  5. repositories {
  6. google()
  7. jcenter()
  8. mavenCentral()
  9. maven { url'http://maven.aliyun.com/nexus/content/groups/public/'}
  10. maven { url'https://maven.aliyun.com/repository/public/' }
  11. maven { url'https://maven.aliyun.com/repository/google/' }
  12. maven { url'https://maven.aliyun.com/repository/jcenter/' }
  13. maven { url'https://maven.aliyun.com/repository/central/' }
  14. }
  15. dependencies {
  16. classpath 'com.android.tools.build:gradle:4.1.3'
  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. maven { url 'https://maven.aliyun.com/repository/public' }
  24. maven { url 'https://maven.aliyun.com/repository/central' }
  25. maven { url 'https://maven.aliyun.com/repository/jcenter' }
  26. maven { url 'https://maven.aliyun.com/repository/google' }
  27. maven { url 'https://maven.aliyun.com/repository/gradle-plugin' }
  28. mavenLocal()
  29. mavenCentral()
  30. google()
  31. jcenter()
  32. maven { url 'https://www.jitpack.io' }
  33. }
  34. }
  35. task clean(type: Delete) {
  36. delete rootProject.buildDir
  37. }