Readrops/db/build.gradle.kts
2024-07-06 22:50:40 +02:00

53 lines
1.1 KiB
Plaintext

plugins {
id("com.android.library")
kotlin("android")
id("com.google.devtools.ksp")
}
android {
namespace = "com.readrops.db"
defaultConfig {
consumerProguardFiles("consumer-rules.pro")
}
sourceSets {
getByName("androidTest") {
assets.srcDirs("$projectDir/schemas")
}
}
lint {
abortOnError = false
}
}
ksp {
arg("room.schemaLocation", "$projectDir/schemas")
arg("room.incremental", "true")
}
dependencies {
coreLibraryDesugaring(libs.jdk.desugar)
implementation(libs.corektx)
implementation(libs.appcompat)
testImplementation(libs.junit4)
androidTestImplementation(libs.bundles.test)
implementation(libs.bundles.room)
ksp(libs.room.compiler)
androidTestImplementation(libs.room.testing)
implementation(libs.bundles.paging)
implementation(libs.jodatime)
implementation(libs.bundles.koin)
testImplementation(libs.bundles.kointest)
implementation(libs.bundles.coroutines)
androidTestImplementation(libs.coroutines.test)
}