mirror of
https://github.com/mihonapp/mihon.git
synced 2024-11-07 03:07:25 +01:00
6ab8e1e73d
Wasn't working correctly in release build, _probably_ because of R8 despite kotlin-reflect shipping with Proguard rules and us already keeping all Tachiyomi classes.
52 lines
1.0 KiB
Plaintext
52 lines
1.0 KiB
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.coroutines.ExperimentalCoroutinesApi",
|
|
"-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.brotli)
|
|
api(libs.okhttp.dnsoverhttps)
|
|
api(libs.okio)
|
|
|
|
implementation(libs.image.decoder)
|
|
|
|
implementation(libs.unifile)
|
|
|
|
api(kotlinx.coroutines.core)
|
|
api(kotlinx.serialization.json)
|
|
api(kotlinx.serialization.json.okio)
|
|
|
|
api(libs.preferencektx)
|
|
|
|
implementation(libs.jsoup)
|
|
|
|
// Sort
|
|
implementation(libs.natural.comparator)
|
|
|
|
// JavaScript engine
|
|
implementation(libs.bundles.js.engine)
|
|
|
|
testImplementation(libs.bundles.test)
|
|
}
|