Skip to content

Commit

Permalink
[ISSUE apache#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 ff49fd1 commit 21a978a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
3 changes: 2 additions & 1 deletion .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ run --color=yes

build --color=yes
build --enable_platform_specific_config

build --jvmopt='--add-opens=java.base/java.lang.reflect=ALL-UNNAMED'
test --jvmopt='--add-opens=java.base/java.lang.reflect=ALL-UNNAMED'
test --action_env=TEST_TMPDIR=/tmp

test --experimental_strict_java_deps=warn
Expand Down
8 changes: 0 additions & 8 deletions BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,4 @@ java_library(
"@maven//:org_openjdk_jmh_jmh_generator_annprocess",
"@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 21a978a

Please sign in to comment.