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