mihon/source-api/build.gradle.kts

46 lines
1.1 KiB
Plaintext
Raw Normal View History

plugins {
id("mihon.library")
kotlin("multiplatform")
kotlin("plugin.serialization")
}
kotlin {
2023-06-25 04:49:36 +02: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 {
2024-01-29 10:11:28 +01:00
implementation(projects.core.common)
api(libs.preferencektx)
2023-05-13 18:05:19 +02: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 16:26:02 +02:00
consumerProguardFile("consumer-proguard.pro")
}
}
tasks {
withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {
compilerOptions.freeCompilerArgs.addAll(
"-Xexpect-actual-classes",
)
}
}