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 Java args to JVM when Spring Boot application started with Bazel run #36

Closed plaird closed 3 years ago

plaird commented 4 years ago

Allow springboot rule definition in a BUILD file to pass javacopts. User would like to tweak memory settings for 'bazel run', but this could apply broadly (GC algs, etc).

plaird commented 3 years ago

This was implemented strictly for bazel run. Because the java_library is where the java compilation happens, I didn't think it right to do anything else at the springboot level.