mihon/source-api/build.gradle.kts

49 lines
1.2 KiB
Text
Raw Permalink Normal View History

plugins {
id("mihon.library")
kotlin("multiplatform")
kotlin("plugin.serialization")
}
kotlin {
2023-06-24 22:49:36 -04:00
androidTarget()
sourceSets {
val commonMain by getting {
dependencies {
api(kotlinx.serialization.json)
api(libs.injekt)
api(libs.rxjava)
api(libs.jsoup)
implementation(project.dependencies.platform(compose.bom))
implementation(compose.runtime)
}
}
val androidMain by getting {
dependencies {
2024-01-29 04:11:28 -05:00
implementation(projects.core.common)
api(libs.preferencektx)
2023-05-13 12:05:19 -04: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 10:26:02 -04:00
consumerProguardFile("consumer-proguard.pro")
}
}
tasks {
withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {
compilerOptions.freeCompilerArgs.addAll(
"-Xexpect-actual-classes",
)
}
}