We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 860731d commit d345cdfCopy full SHA for d345cdf
private/rules/coursier.bzl
@@ -283,6 +283,7 @@ def _java_path(repository_ctx):
283
def _generate_java_jar_command(repository_ctx, jar_path):
284
coursier_opts = repository_ctx.os.environ.get("COURSIER_OPTS", "")
285
coursier_opts = coursier_opts.split(" ") if len(coursier_opts) > 0 else []
286
+
287
# if coursier OOMs from a large dependency tree, have it crash instead of hanging
288
coursier_opts.append("-XX:+ExitOnOutOfMemoryError")
289
java_path = _java_path(repository_ctx)
0 commit comments