build.gradle.kts 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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. implementation(kotlinx.reflect)
  28. api(kotlinx.coroutines.core)
  29. api(kotlinx.serialization.json)
  30. api(kotlinx.serialization.json.okio)
  31. api(libs.preferencektx)
  32. implementation(libs.jsoup)
  33. // Sort
  34. implementation(libs.natural.comparator)
  35. // JavaScript engine
  36. implementation(libs.bundles.js.engine)
  37. testImplementation(libs.bundles.test)
  38. }