build.gradle 1.0 KB

123456789101112131415161718192021222324252627282930313233343536
  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. }
  15. allprojects {
  16. repositories {
  17. google()
  18. mavenCentral()
  19. jcenter()
  20. maven { url 'https://maven.aliyun.com/repository/public' }
  21. maven { url 'https://jitpack.io' }
  22. }
  23. }
  24. dependencies {
  25. classpath 'com.android.tools.build:gradle:7.0.2'
  26. classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
  27. // NOTE: Do not place your application dependencies here; they belong
  28. // in the individual module build.gradle files
  29. }
  30. }
  31. task clean(type: Delete) {
  32. delete rootProject.buildDir
  33. }