build.gradle 765 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. // Top-level build file where you can add configuration options common to all sub-projects/modules.
  2. buildscript {
  3. repositories {
  4. google()
  5. jcenter()
  6. }
  7. dependencies {
  8. classpath 'com.android.tools.build:gradle:3.3.3'
  9. // NOTE: Do not place your application dependencies here; they belong
  10. // in the individual module build.gradle files
  11. }
  12. }
  13. allprojects {
  14. repositories {
  15. // google()
  16. // jcenter()
  17. //新加
  18. mavenCentral()
  19. jcenter()
  20. maven { url 'https://dl.bintray.com/umsdk/release' }
  21. google()
  22. //新加
  23. mavenLocal()
  24. flatDir {
  25. dirs 'libs'
  26. }
  27. }
  28. }
  29. task clean(type: Delete) {
  30. delete rootProject.buildDir
  31. }