2023-01-22 10:12:29 -05:00
|
|
|
plugins {
|
|
|
|
id("com.android.library")
|
|
|
|
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 {
|
2023-01-22 10:37:13 -05:00
|
|
|
implementation(project(":source-api"))
|
2023-02-18 15:14:04 -05:00
|
|
|
implementation(project(":core"))
|
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> {
|
|
|
|
kotlinOptions.freeCompilerArgs += listOf(
|
|
|
|
"-opt-in=kotlinx.coroutines.ExperimentalCoroutinesApi",
|
|
|
|
)
|
|
|
|
}
|
2023-01-22 10:12:29 -05:00
|
|
|
}
|