build.gradle 889 B

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