2023-05-23 23:37:41 +03:00
|
|
|
plugins {
|
|
|
|
id("com.android.library")
|
|
|
|
kotlin("android")
|
|
|
|
}
|
|
|
|
|
|
|
|
android {
|
|
|
|
namespace = "tachiyomi.domain"
|
|
|
|
|
|
|
|
defaultConfig {
|
|
|
|
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
|
|
|
consumerProguardFiles("consumer-rules.pro")
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
implementation(project(":source-api"))
|
2023-06-01 16:53:29 +03:00
|
|
|
implementation(project(":core"))
|
2023-05-23 23:37:41 +03:00
|
|
|
|
2023-06-02 19:59:21 +03:00
|
|
|
implementation(platform(kotlinx.coroutines.bom))
|
|
|
|
implementation(kotlinx.bundles.coroutines)
|
|
|
|
|
2023-07-07 23:19:06 +03:00
|
|
|
api(libs.sqldelight.android.paging)
|
|
|
|
|
2023-07-23 16:50:00 +03:00
|
|
|
testImplementation(libs.bundles.test)
|
2023-10-04 14:08:36 +03:00
|
|
|
testImplementation(kotlinx.coroutines.test)
|
|
|
|
}
|
|
|
|
|
|
|
|
tasks {
|
|
|
|
withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {
|
|
|
|
kotlinOptions.freeCompilerArgs += listOf(
|
|
|
|
"-opt-in=kotlinx.coroutines.ExperimentalCoroutinesApi",
|
|
|
|
)
|
|
|
|
}
|
2023-05-23 23:37:41 +03:00
|
|
|
}
|