REFACTOR END

This commit is contained in:
2025-09-28 10:10:01 +03:00
parent 394e0040de
commit 9b914b2904
117 changed files with 3070 additions and 5447 deletions

View File

@@ -1,5 +1,6 @@
// [FILE] build.gradle.kts
// [SEMANTICS] build, configuration, module, feature, dashboard
// [FILE] feature/dashboard/build.gradle.kts
// [SEMANTICS] build, dashboard, feature_module
// [PURPOSE] Build script for the feature:dashboard module.
plugins {
id("com.android.library")
@@ -16,9 +17,6 @@ android {
defaultConfig {
minSdk = Versions.minSdk
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
vectorDrawables {
useSupportLibrary = true
}
}
buildTypes {
@@ -26,7 +24,7 @@ android {
isMinifyEnabled = false
proguardFiles(
getDefaultProguardFile("proguard-android-optimize.txt"),
"proguard-rules.pro"
"proguard-rules.pro",
)
}
}
@@ -40,7 +38,6 @@ android {
buildFeatures {
compose = true
}
packaging {
resources {
excludes += "/META-INF/{AL2.0,LGPL2.1}"
@@ -49,9 +46,23 @@ android {
}
dependencies {
// [MODULE_DEPENDENCY] Core modules
implementation(project(":domain"))
// [MODULE_DEPENDENCY] Data module
implementation(project(":data"))
// [MODULE_DEPENDENCY] Domain module
implementation(project(":domain"))
// [MODULE_DEPENDENCY] Feature modules for navigation
implementation(project(":feature:inventorylist"))
implementation(project(":feature:itemdetails"))
implementation(project(":feature:itemedit"))
implementation(project(":feature:labeledit"))
implementation(project(":feature:labelslist"))
implementation(project(":feature:locationedit"))
implementation(project(":feature:locationslist"))
implementation(project(":feature:scan"))
implementation(project(":feature:search"))
implementation(project(":feature:settings"))
implementation(project(":feature:setup"))
implementation(project(":ui:common"))
// [DEPENDENCY] AndroidX
implementation(Libs.coreKtx)
@@ -61,9 +72,13 @@ dependencies {
// [DEPENDENCY] Compose
implementation(Libs.composeUi)
implementation(Libs.composeUiGraphics)
implementation(Libs.composeFoundation)
implementation(Libs.composeUiToolingPreview)
implementation(Libs.composeMaterial3)
implementation("androidx.compose.material:material-icons-extended-android:1.6.8")
implementation(Libs.composeFoundationLayout)
implementation(Libs.composeMaterialIconsExtended)
implementation(Libs.composeFoundationLayout)
implementation(Libs.composeMaterialIconsExtended)
implementation(Libs.navigationCompose)
implementation(Libs.hiltNavigationCompose)
@@ -92,4 +107,4 @@ kapt {
correctErrorTypes = true
}
// [END_FILE_build.gradle.kts]
// [END_FILE_feature/dashboard/build.gradle.kts]