build.gradle 954 B

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