You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
testonly: Optional. Bazel standard attribute. Defaults to False.
448
449
visibility: Optional. Bazel standard attribute.
450
+
jartools_toolchains: Optional. Toolchains for running build tools like singlejar, override for obscure use cases. Default: ["@bazel_tools//tools/jdk:current_java_runtime"]
449
451
exclude: Deprecated synonym of *deps_exclude*
450
452
classpath_index: Deprecated synonym of *deps_index_file*
451
453
use_build_dependency_order: Deprecated synonym of *deps_use_starlark_order*
@@ -514,7 +516,7 @@ def springboot(
514
516
outs= [genmanifest_out],
515
517
tags=tags,
516
518
testonly=testonly,
517
-
toolchains=["@bazel_tools//tools/jdk:current_java_runtime"], # so that JAVABASE is computed
519
+
toolchains=jartools_toolchains, # so that JAVABASE is computed
518
520
)
519
521
520
522
# SUBRULE 2B: GENERATE THE GIT PROPERTIES
@@ -577,7 +579,7 @@ def springboot(
577
579
tags=tags,
578
580
testonly=testonly,
579
581
outs= [_get_springboot_jar_file_name(name)],
580
-
toolchains=["@bazel_tools//tools/jdk:current_java_runtime"], # so that JAVABASE is computed
582
+
toolchains=jartools_toolchains, # so that JAVABASE is computed
Copy file name to clipboardExpand all lines: springboot/springboot_doc.md
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -45,6 +45,7 @@ Note that the rule README has more detailed usage instructions for each attribut
45
45
| tags | Optional. Bazel standard attribute. | <code>[]</code> |
46
46
| testonly | Optional. Bazel standard attribute. Defaults to False. | <code>False</code> |
47
47
| visibility | Optional. Bazel standard attribute. | <code>None</code> |
48
+
| jartools_toolchains | Optional. Toolchains for running build tools like singlejar, override for obscure use cases. | <code>["@bazel_tools//tools/jdk:current_java_runtime"]</code> |
48
49
| exclude | Deprecated synonym of *deps_exclude*| <code>[]</code> |
49
50
| classpath_index | Deprecated synonym of *deps_index_file*| <code>"@rules_spring//springboot:empty.txt"</code> |
50
51
| use_build_dependency_order | Deprecated synonym of *deps_use_starlark_order*| <code>True</code> |
0 commit comments