Readrops/api/build.gradle.kts

64 lines
1.3 KiB
Plaintext
Raw Permalink Normal View History

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 {
2024-09-20 16:40:20 +02:00
debug {
enableUnitTestCoverage = true
}
2024-08-18 13:11:27 +02:00
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)
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-10-10 15:03:13 +02:00
testImplementation(libs.bundles.kointest)
2024-07-04 10:47:11 +02:00
implementation(libs.konsumexml)
implementation(libs.kotlinxmlbuilder)
implementation(libs.okhttp)
testImplementation(libs.okhttp.mockserver)
implementation(libs.bundles.retrofit) {
2024-07-04 10:47:11 +02:00
exclude("com.squareup.okhttp3", "okhttp3")
exclude("com.squareup.moshi", "moshi")
}
implementation(libs.moshi)
implementation(libs.jsoup)
2024-07-04 10:47:11 +02:00
}