build.gradle.kts 1013 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. plugins {
  2. id("com.android.library")
  3. kotlin("android")
  4. kotlin("plugin.serialization")
  5. }
  6. android {
  7. namespace = "eu.kanade.tachiyomi.core"
  8. kotlinOptions {
  9. freeCompilerArgs += listOf(
  10. "-Xcontext-receivers",
  11. "-opt-in=kotlinx.coroutines.ExperimentalCoroutinesApi",
  12. "-opt-in=kotlinx.serialization.ExperimentalSerializationApi",
  13. )
  14. }
  15. }
  16. dependencies {
  17. implementation(project(":i18n"))
  18. api(libs.logcat)
  19. api(libs.rxjava)
  20. api(libs.okhttp.core)
  21. api(libs.okhttp.logging)
  22. api(libs.okhttp.brotli)
  23. api(libs.okhttp.dnsoverhttps)
  24. api(libs.okio)
  25. implementation(libs.image.decoder)
  26. implementation(libs.unifile)
  27. api(kotlinx.coroutines.core)
  28. api(kotlinx.serialization.json)
  29. api(kotlinx.serialization.json.okio)
  30. api(libs.preferencektx)
  31. implementation(libs.jsoup)
  32. // Sort
  33. implementation(libs.natural.comparator)
  34. // JavaScript engine
  35. implementation(libs.bundles.js.engine)
  36. }