Readrops/db/build.gradle.kts

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)
}