2024-07-04 10:47:11 +02:00
|
|
|
plugins {
|
|
|
|
id("com.android.library")
|
|
|
|
kotlin("android")
|
|
|
|
}
|
|
|
|
|
|
|
|
android {
|
|
|
|
namespace = "com.readrops.api"
|
|
|
|
|
2024-08-18 13:11:27 +02:00
|
|
|
buildTypes {
|
|
|
|
create("beta") {
|
|
|
|
initWith(getByName("release"))
|
|
|
|
|
|
|
|
signingConfig = signingConfigs.getByName("debug")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-07-04 10:47:11 +02:00
|
|
|
sourceSets {
|
|
|
|
getByName("androidTest") {
|
2024-07-04 12:00:24 +02:00
|
|
|
assets.srcDirs("$projectDir/androidTest/assets")
|
2024-07-04 10:47:11 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
kotlinOptions {
|
|
|
|
freeCompilerArgs = listOf("-Xstring-concat=inline")
|
|
|
|
}
|
2024-07-04 17:37:03 +02:00
|
|
|
|
2024-07-04 10:47:11 +02:00
|
|
|
lint {
|
|
|
|
abortOnError = false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
implementation(project(":db"))
|
|
|
|
|
2024-07-05 11:50:10 +02:00
|
|
|
coreLibraryDesugaring(libs.jdk.desugar)
|
|
|
|
|
2024-07-05 13:52:59 +02:00
|
|
|
testImplementation(libs.junit4)
|
|
|
|
|
|
|
|
implementation(libs.coroutines.core)
|
|
|
|
testImplementation(libs.coroutines.test)
|
2024-07-04 10:47:11 +02:00
|
|
|
|
2024-08-05 23:28:04 +02:00
|
|
|
implementation(platform(libs.koin.bom))
|
2024-07-04 10:47:11 +02:00
|
|
|
implementation(libs.bundles.koin)
|
2024-08-06 16:50:22 +02:00
|
|
|
//testImplementation(libs.bundles.kointest)
|
|
|
|
// I don't know why but those dependencies are unreachable when accessed directly from version catalog
|
|
|
|
testImplementation("io.insert-koin:koin-test:${libs.versions.koin.bom.get()}")
|
|
|
|
testImplementation("io.insert-koin:koin-test-junit4:${libs.versions.koin.bom.get()}")
|
2024-07-04 10:47:11 +02:00
|
|
|
|
|
|
|
implementation(libs.konsumexml)
|
|
|
|
implementation(libs.kotlinxmlbuilder)
|
|
|
|
|
|
|
|
implementation(libs.okhttp)
|
|
|
|
testImplementation(libs.okhttp.mockserver)
|
|
|
|
|
2024-07-05 13:52:59 +02:00
|
|
|
implementation(libs.bundles.retrofit) {
|
2024-07-04 10:47:11 +02:00
|
|
|
exclude("com.squareup.okhttp3", "okhttp3")
|
|
|
|
exclude("com.squareup.moshi", "moshi")
|
|
|
|
}
|
|
|
|
|
2024-07-05 13:52:59 +02:00
|
|
|
implementation(libs.moshi)
|
|
|
|
implementation(libs.jsoup)
|
2024-07-04 10:47:11 +02:00
|
|
|
}
|