
(cherry picked from commit 8df9bce1b4ab2e38f1e1180093c51d7fe6ce4405) # Conflicts: # gradle/kotlinx.versions.toml
43 lines
1.1 KiB
Plaintext
43 lines
1.1 KiB
Plaintext
plugins {
|
|
kotlin("multiplatform")
|
|
kotlin("plugin.serialization")
|
|
id("com.android.library")
|
|
id("com.github.ben-manes.versions")
|
|
}
|
|
|
|
kotlin {
|
|
android()
|
|
sourceSets {
|
|
val commonMain by getting {
|
|
dependencies {
|
|
api(kotlinx.serialization.json)
|
|
api(libs.injekt.core)
|
|
api(libs.rxjava)
|
|
api(libs.jsoup)
|
|
// SY -->
|
|
api(project(":i18n"))
|
|
api(kotlinx.reflect)
|
|
// SY <--
|
|
}
|
|
}
|
|
val androidMain by getting {
|
|
dependencies {
|
|
implementation(project(":core"))
|
|
api(libs.preferencektx)
|
|
|
|
// Workaround for https://youtrack.jetbrains.com/issue/KT-57605
|
|
implementation(kotlinx.coroutines.android)
|
|
implementation(project.dependencies.platform(kotlinx.coroutines.bom))
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
android {
|
|
namespace = "eu.kanade.tachiyomi.source"
|
|
|
|
defaultConfig {
|
|
consumerProguardFile("consumer-proguard.pro")
|
|
}
|
|
}
|