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
Copy file name to clipboardExpand all lines: springboot/springboot.bzl
+8-2Lines changed: 8 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -380,6 +380,7 @@ def springboot(
380
380
bazelrun_java_toolchain=None,
381
381
bazelrun_script=None,
382
382
bazelrun_jvm_flags=None,
383
+
bazelrun_jvm_flag_list=None,
383
384
bazelrun_data=None,
384
385
bazelrun_background=False,
385
386
addins= [],
@@ -441,8 +442,9 @@ def springboot(
441
442
bazelrun_java_toolchain: Optional. Label to the Java toolchain to use when launching the application using 'bazel run'
442
443
bazelrun_script: Optional. When launching the application using 'bazel run', a default launcher script is used.
443
444
This attribute can be used to provide a customized launcher script. Ex: *my_custom_script.sh*
444
-
bazelrun_jvm_flags: Optional. When launching the application using 'bazel run', an optional set of JVM flags
445
-
to pass to the JVM at startup. Ex: *-Dcustomprop=gold -DcustomProp2=silver*
445
+
bazelrun_jvm_flags: Optional. Deprecated form of bazelrun_jvm_flag_list. Ex: *-Dcustomprop=gold -DcustomProp2=silver*
446
+
bazelrun_jvm_flag_list: Optional. When launching the application using 'bazel run', an optional set of JVM flags
447
+
to pass to the JVM at startup. Ex: *['-Dcustomprop=gold', '-DcustomProp2=silver']*
446
448
bazelrun_data: Uncommon option to add data files to runfiles. Behaves like the *data* attribute defined for *java_binary*.
447
449
bazelrun_background: Optional. If True, the *bazel run* launcher will not block. The run command will return and process will remain running.
448
450
addins: Uncommon option to add additional files to the root of the springboot jar. For example a license file. Pass an array of files from the package.
0 commit comments