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