build.gradle 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. plugins {
  2. id 'com.android.application'
  3. id 'ru.cleverpumpkin.proguard-dictionaries-generator'
  4. }
  5. android {
  6. compileSdk 33
  7. defaultConfig {
  8. applicationId "com.github.catvod.demo"
  9. minSdk 17
  10. targetSdk 28
  11. buildConfigField("String", "CLIENT_ID", "\"${clientId}\"")
  12. multiDexEnabled true
  13. }
  14. buildTypes {
  15. release {
  16. minifyEnabled true
  17. proguardFiles 'proguard-rules.pro'
  18. proguardDictionaries {
  19. dictionaryNames = ["build/class-dictionary", "build/package-dictionary", "build/obfuscation-dictionary"]
  20. minLineLength 1
  21. maxLineLength 3
  22. linesCountInDictionary 100000
  23. }
  24. }
  25. }
  26. compileOptions {
  27. sourceCompatibility JavaVersion.VERSION_1_8
  28. targetCompatibility JavaVersion.VERSION_1_8
  29. }
  30. }
  31. dependencies {
  32. implementation('com.github.thegrizzlylabs:sardine-android:0.8') { exclude group: 'com.squareup.okhttp3', module: 'okhttp' }
  33. implementation 'com.googlecode.juniversalchardet:juniversalchardet:1.0.3'
  34. implementation 'wang.harlon.quickjs:wrapper-android:0.21.1'
  35. implementation 'com.squareup.okhttp3:okhttp:3.12.13'
  36. implementation 'com.google.code.gson:gson:2.8.6'
  37. implementation 'cn.wanghaomiao:JsoupXpath:2.5.1'
  38. implementation 'org.nanohttpd:nanohttpd:2.3.1'
  39. implementation 'com.google.zxing:core:3.3.0'
  40. //implementation 'com.orhanobut:logger:2.2.0'
  41. implementation 'org.jsoup:jsoup:1.15.3'
  42. }