build.gradle 1003 B

12345678910111213141516171819202122232425262728293031323334
  1. // Top-level build file where you can add configuration options common to all sub-projects/modules.
  2. buildscript {
  3. ext.kotlin_version = '1.4.21'
  4. repositories {
  5. google()
  6. jcenter()
  7. maven {url 'http://developer.huawei.com/repo/'}
  8. }
  9. dependencies {
  10. classpath "com.android.tools.build:gradle:4.0.2"
  11. classpath 'com.huawei.agconnect:agcp:1.4.2.300'
  12. classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
  13. }
  14. }
  15. allprojects {
  16. repositories {
  17. google()
  18. jcenter()
  19. mavenCentral()
  20. maven { url "https://jitpack.io" }
  21. maven { url 'https://dl.bintray.com/umsdk/release' }
  22. maven { url 'http://maven.aliyun.com/nexus/content/repositories/releases/' }
  23. maven { url "https://dl.bintray.com/rongcloud/maven" }
  24. maven {url 'http://developer.huawei.com/repo/'}
  25. flatDir {
  26. dirs 'libs'
  27. }
  28. }
  29. }
  30. task clean(type: Delete) {
  31. delete rootProject.buildDir
  32. }