Skip to content

Commit

Permalink
Use bzlmod in java example (#7161)
Browse files Browse the repository at this point in the history
  • Loading branch information
mai93 authored Dec 17, 2024
1 parent 0db0c2d commit 0d33f90
Show file tree
Hide file tree
Showing 4 changed files with 257 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/java/greetings_project/.bazelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
common --enable_workspace # for contrib_rules_jvm needed for Junit5 tests
common --java_runtime_version=21
9 changes: 9 additions & 0 deletions examples/java/greetings_project/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
bazel_dep(
name = "rules_java",
version = "8.3.1",
)

bazel_dep(
name = "rules_python",
version = "0.40.0",
)
Loading

0 comments on commit 0d33f90

Please sign in to comment.