* Add dismissed shopping list item preview * Implement editing of note and quantity * Add new editor row for food * Implement loading units and foods * Display dropdown for foods * Display dropdown for units * Implement updating food and units * Create secondary editor state constructor * Display "Add" button * Combine editing state to an object * Implement showing editor for new items * Implement saving new items * Log final screen state * Fix ordering of foods * Show keyboard when editing starts * Add bottom padding to the list * Show new items above checked
47 lines
1.2 KiB
Kotlin
47 lines
1.2 KiB
Kotlin
@file:Suppress("UnstableApiUsage")
|
|
|
|
plugins {
|
|
id("gq.kirmanak.mealient.library")
|
|
alias(libs.plugins.ksp)
|
|
id("gq.kirmanak.mealient.compose")
|
|
id("kotlin-kapt")
|
|
id("dagger.hilt.android.plugin")
|
|
}
|
|
|
|
android {
|
|
namespace = "gq.kirmanak.mealient.shopping_list"
|
|
}
|
|
|
|
dependencies {
|
|
implementation(project(":architecture"))
|
|
implementation(project(":logging"))
|
|
implementation(project(":datasource"))
|
|
implementation(project(":database"))
|
|
implementation(project(":ui"))
|
|
implementation(project(":model_mapper"))
|
|
|
|
implementation(libs.android.material.material)
|
|
implementation(libs.androidx.compose.material)
|
|
implementation(libs.androidx.compose.materialIconsExtended)
|
|
|
|
implementation(libs.google.dagger.hiltAndroid)
|
|
kapt(libs.google.dagger.hiltCompiler)
|
|
kaptTest(libs.google.dagger.hiltAndroidCompiler)
|
|
testImplementation(libs.google.dagger.hiltAndroidTesting)
|
|
|
|
implementation(libs.androidx.hilt.navigationCompose)
|
|
|
|
implementation(libs.jetbrains.kotlinx.coroutinesAndroid)
|
|
testImplementation(libs.jetbrains.kotlinx.coroutinesTest)
|
|
|
|
testImplementation(libs.androidx.test.junit)
|
|
|
|
testImplementation(libs.google.truth)
|
|
|
|
testImplementation(libs.io.mockk)
|
|
}
|
|
|
|
kapt {
|
|
correctErrorTypes = true
|
|
}
|