Readrops/db/build.gradle.kts

53 lines
1.1 KiB
Plaintext
Raw Normal View History

2024-07-04 11:00:21 +02:00
plugins {
id("com.android.library")
2024-07-04 12:00:24 +02:00
kotlin("android")
2024-07-06 14:01:58 +02:00
id("com.google.devtools.ksp")
2024-07-04 11:00:21 +02:00
}
android {
namespace = "com.readrops.db"
defaultConfig {
consumerProguardFiles("consumer-rules.pro")
}
sourceSets {
getByName("androidTest") {
2024-07-04 12:00:24 +02:00
assets.srcDirs("$projectDir/schemas")
2024-07-04 11:00:21 +02:00
}
}
lint {
abortOnError = false
}
}
2024-07-06 14:01:58 +02:00
ksp {
arg("room.schemaLocation", "$projectDir/schemas")
arg("room.incremental", "true")
2024-07-04 11:00:21 +02:00
}
dependencies {
2024-07-05 11:50:10 +02:00
coreLibraryDesugaring(libs.jdk.desugar)
implementation(libs.corektx)
implementation(libs.appcompat)
2024-07-04 11:00:21 +02:00
testImplementation(libs.junit4)
androidTestImplementation(libs.bundles.test)
2024-07-04 11:00:21 +02:00
implementation(libs.bundles.room)
2024-07-06 14:01:58 +02:00
ksp(libs.room.compiler)
2024-07-04 11:00:21 +02:00
androidTestImplementation(libs.room.testing)
implementation(libs.bundles.paging)
implementation(libs.jodatime)
2024-07-04 11:00:21 +02:00
implementation(libs.bundles.koin)
testImplementation(libs.bundles.kointest)
implementation(libs.bundles.coroutines)
androidTestImplementation(libs.coroutines.test)
}