2022-09-16 01:12:27 +03:00
|
|
|
plugins {
|
2024-04-06 08:07:11 +03:00
|
|
|
id("mihon.library")
|
2022-09-16 01:12:27 +03:00
|
|
|
kotlin("android")
|
|
|
|
kotlin("plugin.serialization")
|
|
|
|
}
|
|
|
|
|
|
|
|
android {
|
2024-01-29 12:11:28 +03:00
|
|
|
namespace = "eu.kanade.tachiyomi.core.common"
|
2024-10-31 17:17:27 +03:00
|
|
|
}
|
2023-02-21 03:02:38 +03:00
|
|
|
|
2024-10-31 17:17:27 +03:00
|
|
|
kotlin {
|
|
|
|
compilerOptions {
|
|
|
|
freeCompilerArgs.addAll(
|
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 {
|
2024-01-23 15:35:58 +03:00
|
|
|
implementation(projects.i18n)
|
2022-09-16 01:12:27 +03:00
|
|
|
|
|
|
|
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)
|
2024-06-26 17:54:25 +03:00
|
|
|
implementation(libs.libarchive)
|
2023-02-27 00:16:49 +03:00
|
|
|
|
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
|
|
|
}
|