build.gradle 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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.21'
  4. repositories {
  5. google()
  6. jcenter()
  7. }
  8. dependencies {
  9. classpath 'com.android.tools.build:gradle:4.0.2'
  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. google()
  18. jcenter()
  19. maven { url 'http://maven.aliyun.com/nexus/content/groups/public/' }
  20. maven {
  21. url 'http://192.168.2.10:8081/repository/maven-public'
  22. credentials {
  23. username 'shanp'
  24. password 'admin123'
  25. }
  26. }
  27. maven { url 'https://dl.bintray.com/umsdk/release' }
  28. maven { url 'https://jitpack.io' }
  29. flatDir {
  30. dirs 'libs'
  31. }
  32. }
  33. }
  34. task clean(type: Delete) {
  35. delete rootProject.buildDir
  36. }