build.gradle 931 B

12345678910111213141516171819202122232425262728293031323334353637
  1. // Top-level build file where you can add configuration options common to all sub-projects/modules.
  2. buildscript {
  3. repositories {
  4. maven {url 'https://maven.aliyun.com/repository/public/'}
  5. maven {url 'http://developer.huawei.com/repo/'}
  6. mavenCentral()
  7. google()
  8. jcenter()
  9. }
  10. dependencies {
  11. classpath 'com.android.tools.build:gradle:3.3.3'
  12. classpath 'com.huawei.agconnect:agcp:1.4.2.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. maven {url 'https://maven.aliyun.com/repository/public/'}
  20. maven {url 'http://developer.huawei.com/repo/'}
  21. mavenCentral()
  22. google()
  23. jcenter()
  24. flatDir {
  25. dirs 'libs'
  26. }
  27. }
  28. }
  29. task clean(type: Delete) {
  30. delete rootProject.buildDir
  31. }