Readrops/app/build.gradle.kts

91 lines
2.4 KiB
Plaintext
Raw Normal View History

2024-07-04 12:00:24 +02:00
plugins {
id("com.android.application")
kotlin("android")
2024-08-05 23:28:04 +02:00
alias(libs.plugins.compose.compiler)
2024-07-07 12:48:20 +02:00
id("com.mikepenz.aboutlibraries.plugin")
2024-07-04 12:00:24 +02:00
}
2024-07-04 17:37:03 +02:00
2024-07-04 12:00:24 +02:00
android {
namespace = "com.readrops.app"
defaultConfig {
applicationId = "com.readrops.app"
2024-07-04 17:37:03 +02:00
2024-07-04 12:00:24 +02:00
versionCode = 15
versionName = "2.0-beta01"
}
buildTypes {
release {
isMinifyEnabled = true
proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro")
}
debug {
isMinifyEnabled = false
isShrinkResources = false
applicationIdSuffix = ".debug"
2024-08-05 23:28:04 +02:00
enableUnitTestCoverage = true
enableAndroidTestCoverage = true
2024-07-04 12:00:24 +02:00
proguardFiles(getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro")
}
}
buildFeatures {
buildConfig = true
compose = true
}
lint {
abortOnError = false
}
}
dependencies {
implementation(project(":api"))
implementation(project(":db"))
2024-07-05 11:50:10 +02:00
coreLibraryDesugaring(libs.jdk.desugar)
implementation(libs.corektx)
implementation(libs.appcompat)
implementation(libs.material)
implementation(libs.palette)
implementation(libs.workmanager)
implementation(libs.encrypted.preferences)
implementation(libs.datastore)
implementation(libs.browser)
2024-08-13 21:12:54 +02:00
implementation(libs.splashscreen)
2024-07-04 12:00:24 +02:00
implementation(libs.jsoup)
2024-07-04 12:00:24 +02:00
testImplementation(libs.junit4)
androidTestImplementation(libs.bundles.test)
2024-07-04 12:00:24 +02:00
implementation(platform(libs.compose.bom))
implementation(libs.bundles.compose)
2024-07-04 12:00:24 +02:00
implementation(libs.bundles.voyager)
implementation(libs.bundles.lifecycle)
implementation(libs.bundles.coil)
implementation(libs.bundles.coroutines)
androidTestImplementation(libs.coroutines.test)
implementation(libs.bundles.room)
implementation(libs.bundles.paging)
2024-08-05 23:28:04 +02:00
implementation(platform(libs.koin.bom))
2024-07-04 12:00:24 +02:00
implementation(libs.bundles.koin)
2024-08-05 23:28:04 +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 12:00:24 +02:00
androidTestImplementation(libs.okhttp.mockserver)
2024-07-07 12:48:20 +02:00
implementation(libs.aboutlibraries.composem3)
2024-07-04 12:00:24 +02:00
}