tachiyomi/source-api/build.gradle.kts

38 lines
940 B
Plaintext
Raw Permalink Normal View History

plugins {
kotlin("multiplatform")
kotlin("plugin.serialization")
id("com.android.library")
}
kotlin {
2023-06-25 10:49:36 +08:00
androidTarget()
sourceSets {
val commonMain by getting {
dependencies {
api(kotlinx.serialization.json)
api(libs.injekt.core)
api(libs.rxjava)
api(libs.jsoup)
}
}
val androidMain by getting {
dependencies {
implementation(project(":core"))
api(libs.preferencektx)
2023-05-14 00:05:19 +08:00
// 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 {
2022-09-17 22:26:02 +08:00
consumerProguardFile("consumer-proguard.pro")
}
}