Skip to content

Commit

Permalink
[ISSUE #9102] Fix bazel ci
Browse files Browse the repository at this point in the history
  • Loading branch information
qianye1001 committed Jan 16, 2025
1 parent adb9e9a commit ff49fd1
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,6 @@ platform(

java_library(
name = "test_deps",
jvm_flags = [
"--add-opens=java.base/java.lang.reflect=ALL-UNNAMED",
],
visibility = ["//visibility:public"],
exports = [
"@maven//:junit_junit",
Expand All @@ -50,3 +47,11 @@ java_library(
"@maven//:org_mockito_mockito_junit_jupiter",
],
)

java_binary(
name = "test_deps_bin",
deps = [":test_deps"],
jvm_flags = [
"--add-opens=java.base/java.lang.reflect=ALL-UNNAMED",
],
)

0 comments on commit ff49fd1

Please sign in to comment.