2023-01-22 23:12:29 +08:00
|
|
|
plugins {
|
|
|
|
id("com.android.library")
|
|
|
|
kotlin("android")
|
|
|
|
}
|
|
|
|
|
|
|
|
android {
|
|
|
|
namespace = "tachiyomi.domain"
|
|
|
|
|
|
|
|
defaultConfig {
|
|
|
|
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
|
|
|
consumerProguardFiles("consumer-rules.pro")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2023-01-22 23:37:13 +08:00
|
|
|
implementation(project(":source-api"))
|
2023-02-19 04:14:04 +08:00
|
|
|
implementation(project(":core"))
|
2023-01-22 23:37:13 +08:00
|
|
|
|
2023-02-21 08:02:38 +08:00
|
|
|
implementation(platform(kotlinx.coroutines.bom))
|
|
|
|
implementation(kotlinx.bundles.coroutines)
|
|
|
|
|
2023-11-26 11:31:26 +08:00
|
|
|
implementation(libs.unifile)
|
|
|
|
|
2023-03-08 11:38:02 +08:00
|
|
|
api(libs.sqldelight.android.paging)
|
|
|
|
|
2023-04-15 21:51:52 +08:00
|
|
|
testImplementation(libs.bundles.test)
|
2023-04-30 10:14:49 +08:00
|
|
|
testImplementation(kotlinx.coroutines.test)
|
|
|
|
}
|
|
|
|
|
|
|
|
tasks {
|
|
|
|
withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {
|
|
|
|
kotlinOptions.freeCompilerArgs += listOf(
|
|
|
|
"-opt-in=kotlinx.coroutines.ExperimentalCoroutinesApi",
|
|
|
|
)
|
|
|
|
}
|
2023-01-22 23:12:29 +08:00
|
|
|
}
|