REFACTOR END
This commit is contained in:
53
feature/locationedit/build.gradle.kts
Normal file
53
feature/locationedit/build.gradle.kts
Normal file
@@ -0,0 +1,53 @@
|
||||
// [FILE] feature/locationedit/build.gradle.kts
|
||||
// [SEMANTICS] build, locationedit, feature_module
|
||||
// [PURPOSE] Build script for the feature:locationedit module.
|
||||
|
||||
plugins {
|
||||
id("com.android.library")
|
||||
id("org.jetbrains.kotlin.android")
|
||||
id("org.jetbrains.kotlin.plugin.compose")
|
||||
id("com.google.dagger.hilt.android")
|
||||
id("kotlin-kapt")
|
||||
}
|
||||
|
||||
android {
|
||||
namespace = "com.homebox.lens.feature.locationedit"
|
||||
compileSdk = Versions.compileSdk
|
||||
|
||||
defaultConfig {
|
||||
minSdk = Versions.minSdk
|
||||
}
|
||||
|
||||
compileOptions {
|
||||
sourceCompatibility = JavaVersion.VERSION_1_8
|
||||
targetCompatibility = JavaVersion.VERSION_1_8
|
||||
}
|
||||
kotlinOptions {
|
||||
jvmTarget = "1.8"
|
||||
}
|
||||
buildFeatures {
|
||||
compose = true
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation(project(":data"))
|
||||
implementation(project(":domain"))
|
||||
|
||||
implementation(Libs.coreKtx)
|
||||
implementation(Libs.lifecycleRuntime)
|
||||
implementation(Libs.activityCompose)
|
||||
|
||||
implementation(Libs.composeUi)
|
||||
implementation(Libs.composeUiGraphics)
|
||||
implementation(Libs.composeUiToolingPreview)
|
||||
implementation(Libs.composeMaterial3)
|
||||
implementation(Libs.composeMaterialIconsExtended)
|
||||
implementation(Libs.navigationCompose)
|
||||
implementation(Libs.hiltNavigationCompose)
|
||||
|
||||
implementation(Libs.hiltAndroid)
|
||||
kapt(Libs.hiltCompiler)
|
||||
|
||||
implementation(Libs.timber)
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
// [FILE] feature/locationedit/src/main/java/com/homebox/lens/feature/locationedit/LocationEditScreen.kt
|
||||
// [SEMANTICS] ui, screen, location, edit
|
||||
// [PURPOSE] Composable for the Location Edit screen.
|
||||
|
||||
package com.homebox.lens.feature.locationedit
|
||||
|
||||
import androidx.compose.material3.Text
|
||||
import androidx.compose.runtime.Composable
|
||||
|
||||
@Composable
|
||||
fun LocationEditScreen(
|
||||
locationId: String?,
|
||||
) {
|
||||
Text(text = "Location Edit Screen")
|
||||
}
|
||||
Reference in New Issue
Block a user