daml/bazel_tools/scala-escape-jvmflags.patch
Moritz Kiefer 6581bba285
Upgrade rules_scala (#6883)
changelog_begin
changelog_end
2020-07-28 08:53:12 +00:00

13 lines
653 B
Diff

diff --git a/src/java/io/bazel/rulesscala/exe/LauncherFileWriter.java b/src/java/io/bazel/rulesscala/exe/LauncherFileWriter.java
index 15d1c13..c215f95 100644
--- a/src/java/io/bazel/rulesscala/exe/LauncherFileWriter.java
+++ b/src/java/io/bazel/rulesscala/exe/LauncherFileWriter.java
@@ -36,6 +36,7 @@ public class LauncherFileWriter {
.addKeyValuePair("jar_bin_path", jarBinPath)
.addKeyValuePair("java_start_class", javaStartClass)
.addKeyValuePair("classpath", classpath)
+ .addKeyValuePair("escape_jvmflags", "1")
.addJoinedValues("jvm_flags", "\t", jvmFlags)
.build();