7be6863910
This allows us to swap out the implementation in the future and on different platforms without major changes to the extensions themselves.
50 lines
965 B
Plaintext
50 lines
965 B
Plaintext
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)
|
|
}
|