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