build.gradle 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738
  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.6.0'
  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. }