build.gradle 870 B

1234567891011121314151617181920212223242526272829303132
  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. mavenCentral()
  7. maven { url 'https://dl.bintray.com/umsdk/release' }
  8. maven {url 'https://developer.huawei.com/repo/'}
  9. }
  10. dependencies {
  11. classpath 'com.android.tools.build:gradle:4.0.0'
  12. classpath 'com.huawei.agconnect:agcp:1.5.0.300'
  13. // NOTE: Do not place your application dependencies here; they belong
  14. // in the individual module build.gradle files
  15. }
  16. }
  17. allprojects {
  18. repositories {
  19. google()
  20. jcenter()
  21. mavenCentral()
  22. maven { url 'https://dl.bintray.com/umsdk/release' }
  23. maven {url 'https://developer.huawei.com/repo/'}
  24. }
  25. }
  26. task clean(type: Delete) {
  27. delete rootProject.buildDir
  28. }