build.gradle 851 B

12345678910111213141516171819202122232425262728293031
  1. // Top-level build file where you can add configuration options common to all sub-projects/modules.
  2. buildscript {
  3. ext.kotlin_version = '1.3.72'
  4. repositories {
  5. maven { url 'https://developer.huawei.com/repo/' }
  6. google()
  7. jcenter()
  8. mavenCentral()
  9. }
  10. dependencies {
  11. classpath 'com.android.tools.build:gradle:3.5.4'
  12. classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
  13. classpath 'com.huawei.agconnect:agcp:1.6.0.300'
  14. // NOTE: Do not place your application dependencies here; they belong
  15. // in the individual module build.gradle files
  16. }
  17. }
  18. allprojects {
  19. repositories {
  20. maven { url 'https://developer.huawei.com/repo/' }
  21. google()
  22. jcenter()
  23. mavenCentral()
  24. }
  25. }
  26. task clean(type: Delete) {
  27. delete rootProject.buildDir
  28. }