mirror of
https://github.com/mihonapp/mihon.git
synced 2024-11-10 12:47:26 +01:00
93523ef50b
Includes side effects: - No longer need to restart app for user agent string change to take effect - parseAs extension function requires a Json instance in the calling context, which doesn't necessarily need to be the default one provided by Injekt
39 lines
754 B
Plaintext
39 lines
754 B
Plaintext
plugins {
|
|
id("com.android.library")
|
|
kotlin("android")
|
|
kotlin("plugin.serialization")
|
|
}
|
|
|
|
android {
|
|
namespace = "eu.kanade.tachiyomi.core"
|
|
|
|
kotlinOptions {
|
|
freeCompilerArgs += listOf(
|
|
"-Xcontext-receivers",
|
|
"-opt-in=kotlinx.serialization.ExperimentalSerializationApi",
|
|
)
|
|
}
|
|
}
|
|
|
|
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)
|
|
|
|
api(kotlinx.coroutines.core)
|
|
api(kotlinx.serialization.json)
|
|
api(kotlinx.serialization.json.okio)
|
|
|
|
api(libs.preferencektx)
|
|
|
|
// JavaScript engine
|
|
implementation(libs.bundles.js.engine)
|
|
}
|