2023-01-22 10:12:29 -05:00
|
|
|
plugins {
|
2024-04-06 01:07:11 -04:00
|
|
|
id("mihon.library")
|
2023-01-22 10:12:29 -05:00
|
|
|
kotlin("android")
|
2023-12-24 17:38:01 -05:00
|
|
|
kotlin("plugin.serialization")
|
2023-01-22 10:12:29 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
android {
|
|
|
|
namespace = "tachiyomi.domain"
|
|
|
|
|
|
|
|
defaultConfig {
|
|
|
|
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
|
|
|
consumerProguardFiles("consumer-rules.pro")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2024-01-23 07:35:58 -05:00
|
|
|
implementation(projects.sourceApi)
|
2024-01-29 04:11:28 -05:00
|
|
|
implementation(projects.core.common)
|
2023-01-22 10:37:13 -05:00
|
|
|
|
2023-02-20 19:02:38 -05:00
|
|
|
implementation(platform(kotlinx.coroutines.bom))
|
|
|
|
implementation(kotlinx.bundles.coroutines)
|
2023-12-24 17:38:01 -05:00
|
|
|
implementation(kotlinx.bundles.serialization)
|
2023-02-20 19:02:38 -05:00
|
|
|
|
2023-11-25 22:31:26 -05:00
|
|
|
implementation(libs.unifile)
|
|
|
|
|
2023-03-07 22:38:02 -05:00
|
|
|
api(libs.sqldelight.android.paging)
|
|
|
|
|
2023-04-15 09:51:52 -04:00
|
|
|
testImplementation(libs.bundles.test)
|
2023-04-29 22:14:49 -04:00
|
|
|
testImplementation(kotlinx.coroutines.test)
|
|
|
|
}
|
|
|
|
|
|
|
|
tasks {
|
|
|
|
withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {
|
2024-06-06 17:48:35 -04:00
|
|
|
compilerOptions.freeCompilerArgs.addAll(
|
2023-04-29 22:14:49 -04:00
|
|
|
"-opt-in=kotlinx.coroutines.ExperimentalCoroutinesApi",
|
2024-03-22 18:58:35 -04:00
|
|
|
"-Xcontext-receivers",
|
2023-04-29 22:14:49 -04:00
|
|
|
)
|
|
|
|
}
|
2023-01-22 10:12:29 -05:00
|
|
|
}
|