mirror of
https://git.mihon.tech/mihonapp/mihon
synced 2024-11-27 09:44:55 +03:00
1abf01c4a0
Use KMP in source modules Use KMP in source-api Expect LocalSource
33 lines
708 B
Text
33 lines
708 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)
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
android {
|
|
namespace = "eu.kanade.tachiyomi.source"
|
|
|
|
defaultConfig {
|
|
consumerProguardFile("consumer-proguard.pro")
|
|
}
|
|
}
|