build.gradle 744 B

123456789101112131415161718192021222324252627
  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 'https://developer.huawei.com/repo/' }
  7. }
  8. dependencies {
  9. classpath "com.android.tools.build:gradle:4.1.3"
  10. classpath 'com.huawei.agconnect:agcp:1.5.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://developer.huawei.com/repo/'}
  21. }
  22. }
  23. task clean(type: Delete) {
  24. delete rootProject.buildDir
  25. }