Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update java example #5701

Merged
merged 2 commits into from
Nov 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions examples/java/greetings_project/WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ load("@bazel_tools//tools/build_defs/repo:jvm.bzl", "jvm_maven_import_external")

jvm_maven_import_external(
name = "junit",
artifact = "org.junit.jupiter:junit-jupiter-api:5.9.1",
artifact_sha256 = "5d2fe4d719dffb25a95d77e9c7a34893cbbb1b4cc6c86f2726af7e0fb7035b2f",
artifact = "junit:junit:4.13.2",
artifact_sha256 = "8e495b634469d64fb8acfa3495a065cbacc8a0fff55ce1e31007be4c16dc57d3",
licenses = ["notice"], # Common Public License 1.0
server_urls = ["https://repo1.maven.org/maven2"],
)
6 changes: 5 additions & 1 deletion examples/java/greetings_project/hello/hello.bazelproject
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,8 @@ additional_languages:
# dart
# kotlin
# python
# scala
# scala

build_flags:
# make sure the junit version loaded in the WORKSPACE is the one used
--explicit_java_test_deps
Loading