2023-01-22 18:12:29 +03:00
|
|
|
plugins {
|
2024-04-06 08:07:11 +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-01-23 15:35:58 +03:00
|
|
|
implementation(projects.sourceApi)
|
2024-01-29 12:11:28 +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)
|
|
|
|
|
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-07 00:48:35 +03:00
|
|
|
compilerOptions.freeCompilerArgs.addAll(
|
2023-04-30 05:14:49 +03:00
|
|
|
"-opt-in=kotlinx.coroutines.ExperimentalCoroutinesApi",
|
2024-03-23 01:58:35 +03:00
|
|
|
"-Xcontext-receivers",
|
2023-04-30 05:14:49 +03:00
|
|
|
)
|
|
|
|
}
|
2023-01-22 18:12:29 +03:00
|
|
|
}
|