2023-01-22 18:12:29 +03:00
|
|
|
plugins {
|
2024-07-04 14:43:31 +03:00
|
|
|
id("mihon.library")
|
2023-01-22 18:12:29 +03:00
|
|
|
kotlin("android")
|
2023-12-25 01:38:01 +03:00
|
|
|
kotlin("plugin.serialization")
|
2023-01-22 18:12:29 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
android {
|
|
|
|
namespace = "tachiyomi.domain"
|
|
|
|
|
|
|
|
defaultConfig {
|
|
|
|
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
|
|
|
consumerProguardFiles("consumer-rules.pro")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2024-05-14 11:17:59 +03:00
|
|
|
implementation(projects.sourceApi)
|
2024-06-05 12:20:50 +03:00
|
|
|
implementation(projects.core.common)
|
2023-01-22 18:37:13 +03:00
|
|
|
|
2023-02-21 03:02:38 +03:00
|
|
|
implementation(platform(kotlinx.coroutines.bom))
|
|
|
|
implementation(kotlinx.bundles.coroutines)
|
2023-12-25 01:38:01 +03:00
|
|
|
implementation(kotlinx.bundles.serialization)
|
2023-02-21 03:02:38 +03:00
|
|
|
|
2023-11-26 06:31:26 +03:00
|
|
|
implementation(libs.unifile)
|
|
|
|
|
2023-03-08 06:38:02 +03:00
|
|
|
api(libs.sqldelight.android.paging)
|
|
|
|
|
2024-10-28 13:57:58 +03:00
|
|
|
compileOnly(libs.compose.stablemarker)
|
|
|
|
|
2023-04-15 16:51:52 +03:00
|
|
|
testImplementation(libs.bundles.test)
|
2023-04-30 05:14:49 +03:00
|
|
|
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",
|
2024-07-03 19:35:12 +03:00
|
|
|
"-Xcontext-receivers",
|
2024-06-30 22:29:59 +03:00
|
|
|
),
|
2023-04-30 05:14:49 +03:00
|
|
|
)
|
|
|
|
}
|
2023-01-22 18:12:29 +03:00
|
|
|
}
|