build.gradle 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. // Top-level build file where you can add configuration options common to all sub-projects/modules.
  2. buildscript {
  3. ext {
  4. appVersionCode = 1
  5. appVersionName = "1.0.0"
  6. miniSdkVersion = 16
  7. compileSdkVersion = 30
  8. targetSdkVersion = 26
  9. jsoup_version = "1.14.1"
  10. jsoupxpath_version = "2.5.0"
  11. okhttp_version = "3.12.13"
  12. rxhttp_version = "2.6.5"
  13. }
  14. repositories {
  15. mavenCentral()
  16. google()
  17. jcenter()
  18. maven { url 'https://maven.aliyun.com/repository/google' }
  19. maven { url 'https://maven.aliyun.com/repository/central' }
  20. maven { url 'https://maven.aliyun.com/repository/public' }
  21. maven { url 'https://maven.aliyun.com/repository/gradle-plugin' }
  22. maven { url 'https://jitpack.io' }
  23. }
  24. dependencies {
  25. classpath "com.android.tools.build:gradle:4.2.1"
  26. classpath "gradle.plugin.ru.cleverpumpkin.proguard-dictionaries-generator:plugin:1.0.8"
  27. }
  28. }
  29. allprojects {
  30. repositories {
  31. mavenCentral()
  32. google()
  33. jcenter()
  34. maven { url 'https://maven.aliyun.com/repository/google' }
  35. maven { url 'https://maven.aliyun.com/repository/central' }
  36. maven { url 'https://maven.aliyun.com/repository/public' }
  37. maven { url 'https://maven.aliyun.com/repository/gradle-plugin' }
  38. maven { url 'https://jitpack.io' }
  39. }
  40. }
  41. task clean(type: Delete) {
  42. delete rootProject.buildDir
  43. }