app: release Hilt wiring of :data (pre-M8)

AppBuildInfo from BuildConfig for both variants (buildConfig enabled); the
release source set includes DataBindingsModule (D-041), so features'
@HiltViewModels resolve in release as they do against the debug fakes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TQd3pEP9UeN2uifbHknQ7B
This commit is contained in:
2026-10-18 10:39:04 +02:00
parent a41f240873
commit 64539324e8
3 changed files with 42 additions and 0 deletions
+4
View File
@@ -14,6 +14,10 @@ android {
versionCode = providers.gradleProperty("kvitt.versionCode").orElse("1").get().toInt()
versionName = providers.gradleProperty("kvitt.versionName").orElse("dev").get()
}
// BuildConfig carries versionCode, versionName and DEBUG into AppBuildInfo (:data, D-041).
buildFeatures {
buildConfig = true
}
buildTypes {
debug {
applicationIdSuffix = ".debug"