Skip to content

Commit f5b84b0

Browse files
bedaHovorkaclaude
andcommitted
fix(docker): copy dispatcher-agent build script and sources into image
settings.gradle.kts includes :dispatcher-agent, but the Dockerfile's layered COPY steps never picked it up alongside core/core-test/desktop-ui. Gradle saw an included project with no build script or sources, giving it zero variants and breaking desktop-ui's runtimeClasspath resolution ("Could not resolve project :dispatcher-agent ... No variants exist."). Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
1 parent 5bf5410 commit f5b84b0

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ COPY --chown=builder:builder detekt-strict.yml /build/interlockSim/
7070
COPY --chown=builder:builder .editorconfig /build/interlockSim/
7171
COPY --chown=builder:builder core/build.gradle.kts /build/interlockSim/core/
7272
COPY --chown=builder:builder core-test/build.gradle.kts /build/interlockSim/core-test/
73+
COPY --chown=builder:builder dispatcher-agent/build.gradle.kts /build/interlockSim/dispatcher-agent/
7374
COPY --chown=builder:builder desktop-ui/build.gradle.kts /build/interlockSim/desktop-ui/
7475

7576
# All subsequent Gradle commands run as the builder user.
@@ -97,6 +98,7 @@ RUN --mount=type=cache,target=/home/builder/.gradle/caches,id=app-gradle-v2,uid=
9798
COPY --chown=builder:builder desktop-ui/src/ /build/interlockSim/desktop-ui/src/
9899
COPY --chown=builder:builder core/src/ /build/interlockSim/core/src/
99100
COPY --chown=builder:builder core-test/src/ /build/interlockSim/core-test/src/
101+
COPY --chown=builder:builder dispatcher-agent/src/ /build/interlockSim/dispatcher-agent/src/
100102

101103
# Layer 5: Compile and package with cache mount (no tests).
102104
# Tests are decoupled from the app image build and run in the separate

0 commit comments

Comments
 (0)