2023-01-22 16:12:29 +01:00
|
|
|
plugins {
|
|
|
|
id("com.android.library")
|
|
|
|
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> {
|
|
|
|
kotlinOptions.freeCompilerArgs += listOf(
|
|
|
|
"-opt-in=kotlinx.coroutines.ExperimentalCoroutinesApi",
|
|
|
|
)
|
|
|
|
}
|
2023-01-22 16:12:29 +01:00
|
|
|
}
|