Skip to content

Commit

Permalink
extra javac opts should override default ones
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Bao committed Sep 8, 2024
1 parent ac4181c commit 514ab02
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scala/private/rule_impls.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -157,10 +157,9 @@ def compile_java(ctx, source_jars, source_files, output, extra_javac_opts, provi
output = output,
javac_opts = expand_location(
ctx,
extra_javac_opts +
java_common.default_javac_opts(
java_toolchain = java_toolchain,
),
) + extra_javac_opts,
),
deps = providers_of_dependencies,
#exports can be empty since the manually created provider exposes exports
Expand Down

0 comments on commit 514ab02

Please sign in to comment.