Skip to content

Commit fc6ab5b

Browse files
author
Daniel Muller
committed
Use current_host_java_runtime jdk
Otherwise there can be a version mismatch of GLIBC required to run the cli.
1 parent 64d17b3 commit fc6ab5b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

internal/openapi_generator.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ _openapi_generator = rule(
185185
"reserved_words_mappings": attr.string_list(),
186186
"is_windows": attr.bool(mandatory = True),
187187
"_jdk": attr.label(
188-
default = Label("@bazel_tools//tools/jdk:current_java_runtime"),
188+
default = Label("@bazel_tools//tools/jdk:current_host_java_runtime"),
189189
providers = [java_common.JavaRuntimeInfo],
190190
),
191191
"openapi_generator_cli": attr.label(

0 commit comments

Comments
 (0)