Readrops/db/build.gradle.kts

66 lines
1.4 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"
2024-08-18 13:11:27 +02:00
buildTypes {
2024-09-20 16:40:20 +02:00
debug {
enableUnitTestCoverage = true
enableAndroidTestCoverage = true
}
2024-08-18 13:11:27 +02:00
create("beta") {
initWith(getByName("release"))
signingConfig = signingConfigs.getByName("debug")
}
}
2024-07-04 11:00:21 +02:00
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-10-10 12:55:12 +02:00
arg("room.generateKotlin", "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)
2024-08-05 23:28:04 +02:00
implementation(platform(libs.koin.bom))
2024-07-04 11:00:21 +02:00
implementation(libs.bundles.koin)
2024-10-10 15:03:13 +02:00
androidTestImplementation(libs.bundles.kointest)
2024-07-04 11:00:21 +02:00
implementation(libs.bundles.coroutines)
androidTestImplementation(libs.coroutines.test)
}