mirror of
https://github.com/aniyomiorg/aniyomi.git
synced 2024-11-22 12:48:15 +03:00
dd17832428
Co-authored-by: ivan <12537387+ivaniskandar@users.noreply.github.com> Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
43 lines
1 KiB
Text
43 lines
1 KiB
Text
plugins {
|
|
id("mihon.library")
|
|
kotlin("android")
|
|
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)
|
|
|
|
implementation(platform(kotlinx.coroutines.bom))
|
|
implementation(kotlinx.bundles.coroutines)
|
|
implementation(kotlinx.bundles.serialization)
|
|
|
|
implementation(libs.unifile)
|
|
|
|
api(libs.sqldelight.android.paging)
|
|
|
|
compileOnly(libs.compose.stablemarker)
|
|
|
|
testImplementation(libs.bundles.test)
|
|
testImplementation(kotlinx.coroutines.test)
|
|
}
|
|
|
|
tasks {
|
|
withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {
|
|
compilerOptions.freeCompilerArgs.addAll(
|
|
listOf(
|
|
"-opt-in=kotlinx.coroutines.ExperimentalCoroutinesApi",
|
|
"-Xcontext-receivers",
|
|
),
|
|
)
|
|
}
|
|
}
|