2022-09-16 01:12:27 +03:00
|
|
|
plugins {
|
2023-06-14 01:05:39 +03:00
|
|
|
kotlin("multiplatform")
|
2022-09-16 01:12:27 +03:00
|
|
|
kotlin("plugin.serialization")
|
2023-06-14 01:05:39 +03:00
|
|
|
id("com.android.library")
|
|
|
|
}
|
|
|
|
|
|
|
|
kotlin {
|
|
|
|
android()
|
|
|
|
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-07-25 11:21:47 +03:00
|
|
|
|
|
|
|
// Workaround for https://youtrack.jetbrains.com/issue/KT-57605
|
|
|
|
implementation(kotlinx.coroutines.android)
|
|
|
|
implementation(project.dependencies.platform(kotlinx.coroutines.bom))
|
2023-06-14 01:05:39 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2022-09-16 01:12:27 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
android {
|
|
|
|
namespace = "eu.kanade.tachiyomi.source"
|
|
|
|
|
|
|
|
defaultConfig {
|
2022-09-17 17:26:02 +03:00
|
|
|
consumerProguardFile("consumer-proguard.pro")
|
2022-09-16 01:12:27 +03:00
|
|
|
}
|
|
|
|
}
|