salesforce / rules_spring

Bazel rule for building Spring Boot apps as a deployable jar
BSD 3-Clause "New" or "Revised" License
228 stars 49 forks source link

Support passing arguments to bazel run for Spring Boot application #8

Closed plaird closed 3 years ago

plaird commented 4 years ago

bazel run does not pass the arguments to the Spring Boot executable:

$ java -jar bazel-bin/samples/helloworld/helloworld.jar one two three Launching the sample SpringBoot demo application... Command line args: one two three

$ bazel run //samples/helloworld one two three Launching the sample SpringBoot demo application... Command line args: