build.gradle 967 B

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