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 {
|
|
|
|
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-07-04 11:00:21 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2024-07-05 11:50:10 +02:00
|
|
|
coreLibraryDesugaring(libs.jdk.desugar)
|
|
|
|
|
2024-07-05 13:52:59 +02:00
|
|
|
implementation(libs.corektx)
|
|
|
|
implementation(libs.appcompat)
|
2024-07-04 11:00:21 +02:00
|
|
|
|
2024-07-05 13:52:59 +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-08-06 16:50:22 +02:00
|
|
|
//androidTestImplementation(libs.bundles.kointest)
|
|
|
|
// I don't know why but those dependencies are unreachable when accessed directly from version catalog
|
|
|
|
androidTestImplementation("io.insert-koin:koin-test:${libs.versions.koin.bom.get()}")
|
|
|
|
androidTestImplementation("io.insert-koin:koin-test-junit4:${libs.versions.koin.bom.get()}")
|
2024-07-04 11:00:21 +02:00
|
|
|
|
|
|
|
implementation(libs.bundles.coroutines)
|
|
|
|
androidTestImplementation(libs.coroutines.test)
|
|
|
|
}
|