Skip to content

Commit

Permalink
Switch current_host_java_runtime Usage to current_java_runtime.
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonSteving99 committed May 8, 2024
1 parent b578df0 commit e423e33
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion MODULE.bazel
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module(
name = "claro-lang",
repo_name = "claro-lang",
version = "0.1.508",
version = "0.1.509",
)

bazel_dep(name = "aspect_bazel_lib", version = "2.0.1")
Expand Down
2 changes: 1 addition & 1 deletion examples/bzlmod/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module(name = "example-claro-module")

bazel_dep(name = "claro-lang", version = "0.1.508")
bazel_dep(name = "claro-lang", version = "0.1.509")
4 changes: 2 additions & 2 deletions stdlib/utils/expand_template/expand_template.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def expand_template(name, template, substitutions = {}, out = "", visibility = [
name = name,
srcs = [name + "_bin_deploy.jar"],
outs = [out],
toolchains = ["@bazel_tools//tools/jdk:current_host_java_runtime"],
toolchains = ["@bazel_tools//tools/jdk:current_java_runtime"],
cmd = "$(JAVA) -jar $(SRCS) > $(OUTS)",
visibility = visibility,
)
)

0 comments on commit e423e33

Please sign in to comment.