build.gradle 801 B

12345678910111213141516171819202122232425262728
  1. // Top-level build file where you can add configuration options common to all sub-projects/modules.
  2. buildscript {
  3. ext.kotlin_version = "1.3.72"
  4. repositories {
  5. google()
  6. jcenter()
  7. maven { url "https://jitpack.io" }
  8. }
  9. dependencies {
  10. classpath "com.android.tools.build:gradle:4.0.0"
  11. classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
  12. // classpath 'com.github.xuexiangjys.XRouter:xrouter-plugin:1.0.1'
  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. jcenter()
  21. maven { url "https://jitpack.io" }
  22. }
  23. }
  24. task clean(type: Delete) {
  25. delete rootProject.buildDir
  26. }