mirror of
https://git.mihon.tech/mihonapp/mihon
synced 2024-11-23 13:45:43 +03:00
7be6863910
This allows us to swap out the implementation in the future and on different platforms without major changes to the extensions themselves.
49 lines
965 B
Text
49 lines
965 B
Text
plugins {
|
|
id("com.android.library")
|
|
kotlin("android")
|
|
kotlin("plugin.serialization")
|
|
}
|
|
|
|
android {
|
|
namespace = "eu.kanade.tachiyomi.core"
|
|
compileSdk = AndroidConfig.compileSdk
|
|
|
|
defaultConfig {
|
|
minSdk = AndroidConfig.minSdk
|
|
targetSdk = AndroidConfig.targetSdk
|
|
}
|
|
|
|
compileOptions {
|
|
sourceCompatibility = JavaVersion.VERSION_1_8
|
|
targetCompatibility = JavaVersion.VERSION_1_8
|
|
}
|
|
|
|
kotlinOptions {
|
|
jvmTarget = JavaVersion.VERSION_1_8.toString()
|
|
}
|
|
}
|
|
|
|
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(libs.injekt.core)
|
|
|
|
api(libs.preferencektx)
|
|
|
|
implementation(androidx.corektx)
|
|
|
|
// JavaScript engine
|
|
implementation(libs.bundles.js.engine)
|
|
}
|