2022-09-16 01:12:27 +03:00
|
|
|
plugins {
|
|
|
|
id("com.android.library")
|
|
|
|
kotlin("android")
|
|
|
|
kotlin("plugin.serialization")
|
|
|
|
}
|
|
|
|
|
|
|
|
android {
|
|
|
|
namespace = "eu.kanade.tachiyomi.core"
|
2023-02-21 03:02:38 +03:00
|
|
|
|
|
|
|
kotlinOptions {
|
|
|
|
freeCompilerArgs += listOf(
|
|
|
|
"-Xcontext-receivers",
|
2023-06-01 05:47:31 +03:00
|
|
|
"-opt-in=kotlinx.coroutines.ExperimentalCoroutinesApi",
|
2023-02-21 03:02:38 +03:00
|
|
|
"-opt-in=kotlinx.serialization.ExperimentalSerializationApi",
|
|
|
|
)
|
|
|
|
}
|
2022-09-16 01:12:27 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
implementation(project(":i18n"))
|
|
|
|
|
|
|
|
api(libs.logcat)
|
|
|
|
|
|
|
|
api(libs.rxjava)
|
|
|
|
|
|
|
|
api(libs.okhttp.core)
|
|
|
|
api(libs.okhttp.logging)
|
2023-11-01 01:03:07 +03:00
|
|
|
api(libs.okhttp.brotli)
|
2022-09-16 01:12:27 +03:00
|
|
|
api(libs.okhttp.dnsoverhttps)
|
|
|
|
api(libs.okio)
|
|
|
|
|
2023-02-27 00:16:49 +03:00
|
|
|
implementation(libs.image.decoder)
|
|
|
|
|
|
|
|
implementation(libs.unifile)
|
|
|
|
|
2023-12-30 20:09:55 +03:00
|
|
|
implementation(kotlinx.reflect)
|
2022-09-16 01:12:27 +03:00
|
|
|
api(kotlinx.coroutines.core)
|
|
|
|
api(kotlinx.serialization.json)
|
2022-10-18 19:09:23 +03:00
|
|
|
api(kotlinx.serialization.json.okio)
|
2022-09-16 01:12:27 +03:00
|
|
|
|
|
|
|
api(libs.preferencektx)
|
|
|
|
|
2023-02-27 00:16:49 +03:00
|
|
|
implementation(libs.jsoup)
|
|
|
|
|
|
|
|
// Sort
|
|
|
|
implementation(libs.natural.comparator)
|
|
|
|
|
2022-10-08 16:45:06 +03:00
|
|
|
// JavaScript engine
|
|
|
|
implementation(libs.bundles.js.engine)
|
2023-12-30 20:09:55 +03:00
|
|
|
|
|
|
|
testImplementation(libs.bundles.test)
|
2022-09-16 01:12:27 +03:00
|
|
|
}
|