Files
kvitt/android/core/fakes/build.gradle.kts
T
jacobh2 e4e6e5d792 Android overhaul: one CopyCategoryKeywords task in build-logic instead of a copy in :data and :core:fakes
The task class and its wiring were duplicated verbatim in both build scripts; bundleCategoryKeywords(resourcePath)
registers it once per module. Resource paths and inputs are unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TQd3pEP9UeN2uifbHknQ7B
2026-10-18 23:13:12 +02:00

19 lines
819 B
Kotlin

import se.hagstedt.kvitt.buildlogic.bundleCategoryKeywords
// :core:fakes — scenario-driven fakes of every repository interface of SPEC §14.2.4. Only for tests, screenshot tests
// and debug previews (the architecture check rejects it in release configurations). Computed values come from :domain.
// Each feature's scenarios live under src/main/kotlin/se/hagstedt/kvitt/fakes/<feature>/ (SPEC §11.3).
plugins {
id("kvitt.android.library")
}
dependencies {
api(project(":core:model"))
implementation(project(":domain"))
testImplementation(libs.kotlinx.coroutines.test)
}
// The keyword table of the category suggestion (UX-3, SPEC §9.11 CS-6), bundled as the Java resource
// se/hagstedt/kvitt/fakes/category-keywords.csv.
bundleCategoryKeywords("se/hagstedt/kvitt/fakes/category-keywords.csv")