aniyomi/domain/build.gradle.kts

44 lines
1 KiB
Text
Raw Permalink Normal View History

plugins {
id("mihon.library")
kotlin("android")
2023-12-25 01:38:01 +03:00
kotlin("plugin.serialization")
}
android {
namespace = "tachiyomi.domain"
defaultConfig {
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles("consumer-rules.pro")
}
}
dependencies {
implementation(projects.sourceApi)
implementation(projects.core.common)
2023-01-22 18:37:13 +03:00
implementation(platform(kotlinx.coroutines.bom))
implementation(kotlinx.bundles.coroutines)
2023-12-25 01:38:01 +03:00
implementation(kotlinx.bundles.serialization)
implementation(libs.unifile)
api(libs.sqldelight.android.paging)
compileOnly(libs.compose.stablemarker)
2023-04-15 16:51:52 +03:00
testImplementation(libs.bundles.test)
testImplementation(kotlinx.coroutines.test)
}
tasks {
withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {
2024-06-30 22:29:59 +03:00
compilerOptions.freeCompilerArgs.addAll(
listOf(
"-opt-in=kotlinx.coroutines.ExperimentalCoroutinesApi",
"-Xcontext-receivers",
2024-06-30 22:29:59 +03:00
),
)
}
}