mirror of
https://github.com/mihonapp/mihon.git
synced 2024-11-28 23:13:22 -05: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
38 lines
754 B
Text
38 lines
754 B
Text
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)
|
|
}
|