chore/dedebug - #3056
Open
StylianosGakis wants to merge 2 commits into
Open
Conversation
… libraries DeDebug (com.autonomousapps.dedebug) removes the `debug` build type from every Android library. Libraries then publish only `release`, which the app consumes for all of its build types, and `./gradlew <module>:test --tests SomeTest` works on Android library modules for the first time (feature parity with JVM modules). It runs from the settings classloader, which is why the preceding commit moved the plugin classpath into build-logic; here it is simply one more plugin on that classpath, applied by the `hedvig.settings` convention plugin. The `debug` matchingFallbacks workaround in ApplicationConventionPlugin is no longer needed, since dedebug maps the app's `debug` build type onto library `release` itself. The custom `staging` build type keeps its own fallback: dedebug does not know about it. Known caveat: dedebug 0.1's backwards-compat `testDebugUnitTest` task is not configuration-cache compatible, so invoking it by name fails while org.gradle.configuration-cache=true. CI (`test`, `jvmTest`, `lint`) and `test --tests` are unaffected. Reported upstream. Verified: :app debug/staging/release, :design-showcase, design-showcase-desktop, hedvig-lint, :umbrella iosArm64/jvm, `test jvmTest` (304 test executions across the 14 test-bearing library modules, none skipped) and `lint` all pass.
DeDebug's backwards-compat `testDebugUnitTest` task is not configuration-cache compatible, so invoking it by name fails while org.gradle.configuration-cache=true. The checked-in "Run all unit tests" IDE configuration did exactly that, and would have failed for every developer with 43 configuration-cache problems. Switch it (and the CLAUDE.md commands) to `test`, which is dedebug's intended entrypoint, works with the configuration cache, and now supports `--tests` filtering on Android library modules. Historical plan documents under docs/ still mention testDebugUnitTest; they are records of past work and are left untouched.
StylianosGakis
marked this pull request as ready for review
August 14, 2026 08:42
StylianosGakis
force-pushed
the
chore/dedebug
branch
from
August 14, 2026 08:54
94beddc to
bdeef52
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
a11y