build.gradle 839 B

123456789101112131415161718192021222324252627282930
  1. buildscript {
  2. ext.kotlin_version = '1.5.31'
  3. repositories {
  4. google()
  5. maven{url 'http://maven.aliyun.com/nexus/content/groups/public/'}
  6. }
  7. dependencies {
  8. classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.21"
  9. classpath 'com.android.tools.build:gradle:4.2.1'
  10. }
  11. }
  12. allprojects {
  13. repositories {
  14. flatDir {
  15. dirs 'libs'
  16. }
  17. maven { url 'https://maven.aliyun.com/repository/gradle-plugin' }
  18. maven { url 'https://maven.aliyun.com/repository/google' }
  19. maven { url 'http://maven.aliyun.com/nexus/content/groups/public/' }
  20. maven { url "https://jitpack.io" }
  21. // maven { url 'http://47.93.180.222:8081/repository/mobile-releases/' }//德卡读卡器仓库
  22. }
  23. }
  24. task clean(type: Delete) {
  25. delete rootProject.buildDir
  26. }