build.gradle 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. plugins {
  2. id 'com.android.library'
  3. }
  4. android {
  5. namespace = 'com.github.catvod.crawler'
  6. compileSdk {
  7. version = release(37)
  8. }
  9. defaultConfig {
  10. minSdk 23
  11. targetSdk 37
  12. }
  13. compileOptions {
  14. coreLibraryDesugaringEnabled = true
  15. sourceCompatibility JavaVersion.VERSION_17
  16. targetCompatibility JavaVersion.VERSION_17
  17. }
  18. }
  19. dependencies {
  20. coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs_nio:2.1.5'
  21. api 'androidx.annotation:annotation:1.9.1'
  22. api 'androidx.preference:preference:1.2.1'
  23. api 'androidx.startup:startup-runtime:1.2.0'
  24. api 'com.github.thegrizzlylabs:sardine-android:0.9'
  25. api 'com.google.code.gson:gson:' + gsonVersion
  26. api 'com.google.zxing:core:3.5.4'
  27. api 'com.googlecode.juniversalchardet:juniversalchardet:1.0.3'
  28. api 'com.hierynomus:smbj:0.14.0'
  29. api 'com.orhanobut:logger:2.2.0'
  30. api 'com.squareup.okhttp3:okhttp:' + okhttpVersion
  31. api 'com.squareup.okhttp3:okhttp-dnsoverhttps:' + okhttpVersion
  32. api 'com.squareup.okhttp3:logging-interceptor:' + okhttpVersion
  33. api('com.google.guava:guava:33.5.0-android') {
  34. exclude group: 'com.google.code.findbugs', module: 'jsr305'
  35. exclude group: 'org.checkerframework', module: 'checker-compat-qual'
  36. exclude group: 'org.checkerframework', module: 'checker-qual'
  37. exclude group: 'com.google.errorprone', module: 'error_prone_annotations'
  38. exclude group: 'com.google.j2objc', module: 'j2objc-annotations'
  39. exclude group: 'org.codehaus.mojo', module: 'animal-sniffer-annotations'
  40. }
  41. }