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 #17281

Closes #18344.

PiperOrigin-RevId: 530662071
Change-Id: I9376cbc7117d9c8370cf50d42988cca44dad9785
  • Loading branch information
fmeum authored and Copybara-Service committed May 9, 2023
1 parent 76ef9e9 commit 1c1584b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tools/jdk/local_java_repository.bzl
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 1c1584b

Please sign in to comment.