build.gradle 1.0 KB

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 'https://repo1.maven.org/maven2/' }
  7. maven {url 'https://developer.huawei.com/repo/'}
  8. }
  9. dependencies {
  10. classpath "com.android.tools.build:gradle:4.1.3"
  11. classpath 'com.huawei.agconnect:agcp:1.6.0.300'
  12. // NOTE: Do not place your application dependencies here; they belong
  13. // in the individual module build.gradle files
  14. }
  15. }
  16. allprojects {
  17. repositories {
  18. google()
  19. jcenter()
  20. mavenCentral()
  21. maven { url "https://oss.jfrog.org/libs-snapshot" }
  22. maven { url 'https://jitpack.io' }
  23. maven { url 'https://dueros.baidu.com/maven/repository/maven-releases/' }
  24. maven { url 'https://dueros.baidu.com/maven/repository/maven-snapshots/' }
  25. maven {url 'https://developer.huawei.com/repo/'}
  26. }
  27. }
  28. task clean(type: Delete) {
  29. delete rootProject.buildDir
  30. }