build.gradle 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. // Top-level build file where you can add configuration options common to all sub-projects/modules.
  2. apply from: "config.gradle"
  3. buildscript {
  4. ext {
  5. kotlin_version = '1.6.0'
  6. coroutines_version = '1.5.2'
  7. }
  8. repositories {
  9. google()
  10. mavenCentral()
  11. jcenter()
  12. maven { url 'https://maven.aliyun.com/repository/public' }
  13. maven { url 'https://jitpack.io' }
  14. maven { url 'https://developer.huawei.com/repo' }
  15. }
  16. allprojects {
  17. repositories {
  18. google()
  19. mavenCentral()
  20. jcenter()
  21. maven { url 'https://maven.aliyun.com/repository/public' }
  22. maven { url 'https://jitpack.io' }
  23. maven { url 'https://developer.huawei.com/repo' }
  24. }
  25. }
  26. dependencies {
  27. classpath 'com.android.tools.build:gradle:7.0.2'
  28. classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
  29. // NOTE: Do not place your application dependencies here; they belong
  30. // in the individual module build.gradle files
  31. }
  32. }
  33. task clean(type: Delete) {
  34. delete rootProject.buildDir
  35. }