build.gradle 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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. maven { url 'http://maven.aliyun.com/nexus/content/groups/public/' }
  7. maven {
  8. url MAVEN_PUBLIC_URL
  9. credentials {
  10. username MAVEN_USERNAME
  11. password MAVEN_PASSWORD
  12. }
  13. }
  14. maven { url 'https://dl.bintray.com/umsdk/release' }
  15. }
  16. dependencies {
  17. classpath 'com.android.tools.build:gradle:4.1.3'
  18. // NOTE: Do not place your application dependencies here; they belong
  19. // in the individual module build.gradle files
  20. }
  21. }
  22. allprojects {
  23. repositories {
  24. google()
  25. jcenter()
  26. mavenCentral()
  27. maven { url 'http://maven.aliyun.com/nexus/content/groups/public/' }
  28. maven {
  29. url MAVEN_PUBLIC_URL
  30. credentials {
  31. username MAVEN_USERNAME
  32. password MAVEN_PASSWORD
  33. }
  34. }
  35. maven { url 'https://dl.bintray.com/umsdk/release' }
  36. maven {
  37. url 'https://artifact.bytedance.com/repository/pangle'
  38. }
  39. flatDir {
  40. dirs 'libs'
  41. }
  42. }
  43. }
  44. task clean(type: Delete) {
  45. delete rootProject.buildDir
  46. }