build.gradle 1001 B

123456789101112131415161718192021222324252627282930313233
  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://developer.huawei.com/repo/'}
  7. }
  8. dependencies {
  9. classpath "com.android.tools.build:gradle:4.0.2"
  10. classpath 'com.huawei.agconnect:agcp:1.4.2.300'
  11. // NOTE: Do not place your application dependencies here; they belong
  12. // in the individual module build.gradle files
  13. }
  14. }
  15. allprojects {
  16. repositories {
  17. google()
  18. jcenter()
  19. maven { url "https://jitpack.io" }
  20. maven { url 'https://dl.bintray.com/umsdk/release' }
  21. maven { url 'http://maven.aliyun.com/nexus/content/repositories/releases/' }
  22. maven { url "https://dl.bintray.com/rongcloud/maven" }
  23. maven {url 'http://developer.huawei.com/repo/'}
  24. flatDir {
  25. dirs 'libs'
  26. }
  27. }
  28. }
  29. task clean(type: Delete) {
  30. delete rootProject.buildDir
  31. }