build.gradle 969 B

123456789101112131415161718192021222324252627282930313233343536373839
  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.5.2'
  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. maven { url 'http://maven.aliyun.com/nexus/content/groups/public/' }
  18. maven {
  19. url 'http://192.168.2.10:8081/repository/maven-releases'
  20. credentials {
  21. username 'shanp'
  22. password 'admin123'
  23. }
  24. }
  25. maven { url 'https://dl.bintray.com/umsdk/release' }
  26. maven { url 'https://jitpack.io' }
  27. flatDir {
  28. dirs 'libs'
  29. }
  30. }
  31. }
  32. task clean(type: Delete) {
  33. delete rootProject.buildDir
  34. }