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