build.gradle 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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.30-M1'
  4. repositories {
  5. google()
  6. mavenCentral()
  7. maven {url 'https://developer.huawei.com/repo/'}
  8. }
  9. dependencies {
  10. classpath 'com.android.tools.build:gradle:8.7.2'
  11. classpath 'com.huawei.agconnect:agcp:1.9.1.300'
  12. // classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
  13. // NOTE: Do not place your application dependencies here; they belong
  14. // in the individual module build.gradle files
  15. classpath 'com.google.gms:google-services:4.4.2'
  16. }
  17. }
  18. allprojects {
  19. repositories {
  20. google()
  21. mavenCentral()
  22. maven {
  23. url "https://developer.huawei.com/repo/"
  24. }
  25. maven { url 'https://jitpack.io' }
  26. maven { url 'https://dl.bintray.com/jenly/maven' }
  27. }
  28. configurations {
  29. all {
  30. resolutionStrategy {
  31. //force "android.arch.lifecycle:runtime:1.1.1"
  32. }
  33. }
  34. }
  35. }
  36. task clean(type: Delete) {
  37. delete rootProject.buildDir
  38. }