mirror of
https://github.com/aniyomiorg/aniyomi.git
synced 2024-11-23 13:23:28 +03:00
37 lines
934 B
Text
37 lines
934 B
Text
plugins {
|
|
kotlin("multiplatform")
|
|
kotlin("plugin.serialization")
|
|
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)
|
|
|
|
// 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")
|
|
}
|
|
}
|