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