Skip to content

Commit

Permalink
Pass version to java_runtimes created by local_java_repository
Browse files Browse the repository at this point in the history
Work towards bazelbuild#17281

Closes bazelbuild#18344.

PiperOrigin-RevId: 530662071
Change-Id: I9376cbc7117d9c8370cf50d42988cca44dad9785
  • Loading branch information
fmeum authored and fweikert committed May 25, 2023
1 parent 1a333eb commit 821d9d0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tools/jdk/local_java_repository.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ def local_java_runtime(name, java_home, version, runtime_name = None, visibility
name = runtime_name,
java_home = java_home,
visibility = visibility,
version = int(version) if version.isdigit() else 0,
)

native.config_setting(
Expand Down

0 comments on commit 821d9d0

Please sign in to comment.