Skip to content

F-042: minimal Bazel sample workspace (forma JVM matrix)#173

Merged
stepango merged 2 commits into
v2from
forma/F-042-bazel-sample
Jul 14, 2026
Merged

F-042: minimal Bazel sample workspace (forma JVM matrix)#173
stepango merged 2 commits into
v2from
forma/F-042-bazel-sample

Conversation

@stepango

Copy link
Copy Markdown
Collaborator

Summary

  • Add experimental bazel-sample/ workspace: greeter + calculator (api/impl), common/library + util, binary composition root
  • WORKSPACE + Bazel 7.4.1 + rules_kotlin 1.9.0; BUILD files follow F-041 labels/tags/visibility; no impl→impl
  • Docs: BAZEL-ADAPTER Sample results, README/JVM-SAMPLE/ARCHITECTURE cross-links; TICKETS F-042 done

Verify (real)

source scripts/env-mac.sh
cd bazel-adapter && ./gradlew test          # BUILD SUCCESSFUL
cd ../bazel-sample && bazelisk build //...  # 7 targets OK
bazelisk run //binary:binary
# Hello, World! (2 + 3 = 5)
# Bazel sample (forma concepts) build + run successful.

Test plan

  • Adapter unit tests green
  • bazelisk build //... + run //binary:binary
  • No impl→impl edges in sample BUILDs

Claw added 2 commits July 14, 2026 15:03
Add experimental bazel-sample/ with WORKSPACE + rules_kotlin, two
features (api/impl), library/util, and binary composition root.
BUILD files follow F-041 label/tag/visibility conventions with no
impl→impl edges. Document run path and cross-link adapter design.
@stepango stepango merged commit 92c82d7 into v2 Jul 14, 2026
8 checks passed
@stepango stepango deleted the forma/F-042-bazel-sample branch July 14, 2026 22:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant