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-11-18 22:19:41 +01:00
|
|
|
versionCode = 19
|
|
|
|
versionName = "2.0.2"
|
2024-07-04 12:00:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
buildTypes {
|
|
|
|
release {
|
|
|
|
isMinifyEnabled = true
|
2024-08-18 13:11:27 +02:00
|
|
|
isShrinkResources = true
|
|
|
|
|
2024-07-04 12:00:24 +02:00
|
|
|
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")
|
|
|
|
}
|
2024-08-18 13:11:27 +02:00
|
|
|
|
|
|
|
create("beta") {
|
|
|
|
initWith(getByName("release"))
|
|
|
|
|
|
|
|
applicationIdSuffix = ".beta"
|
|
|
|
signingConfig = signingConfigs.getByName("debug")
|
|
|
|
}
|
2024-07-04 12:00:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
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)
|
|
|
|
|
2024-07-05 13:52:59 +02:00
|
|
|
implementation(libs.corektx)
|
|
|
|
implementation(libs.appcompat)
|
|
|
|
implementation(libs.material)
|
|
|
|
implementation(libs.palette)
|
|
|
|
implementation(libs.workmanager)
|
|
|
|
implementation(libs.encrypted.preferences)
|
2024-07-13 17:03:04 +02:00
|
|
|
implementation(libs.datastore)
|
2024-07-15 14:07:10 +02:00
|
|
|
implementation(libs.browser)
|
2024-08-13 21:12:54 +02:00
|
|
|
implementation(libs.splashscreen)
|
2024-08-29 17:45:58 +02:00
|
|
|
implementation(libs.preferences)
|
2024-07-04 12:00:24 +02:00
|
|
|
|
2024-07-05 13:52:59 +02:00
|
|
|
implementation(libs.jsoup)
|
2024-07-04 12:00:24 +02:00
|
|
|
|
2024-07-05 13:52:59 +02:00
|
|
|
testImplementation(libs.junit4)
|
|
|
|
androidTestImplementation(libs.bundles.test)
|
2024-07-04 12:00:24 +02:00
|
|
|
|
2024-07-05 13:52:59 +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-10-10 15:03:13 +02:00
|
|
|
androidTestImplementation(libs.bundles.kointest)
|
2024-07-04 12:00:24 +02:00
|
|
|
|
2024-07-05 13:52:59 +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
|
|
|
}
|