build.gradle 897 B

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