Skip to content

Commit

Permalink
Disable ProGuard logging
Browse files Browse the repository at this point in the history
  • Loading branch information
fmeum committed Feb 6, 2025
1 parent 607b9f3 commit 6f244ba
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion third_party/BUILD
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
load("@rules_java//java:defs.bzl", "java_import", "java_library", "java_plugin")
load("@rules_java//java:defs.bzl", "java_binary", "java_import", "java_library", "java_plugin")
load("@rules_license//rules:license.bzl", "license")
load("//src/tools/bzlmod:utils.bzl", "get_repo_root")
load("//tools/distributions:distribution_rules.bzl", "distrib_jar_filegroup", "distrib_java_import")
Expand Down Expand Up @@ -345,6 +345,10 @@ genrule(

java_binary(
name = "proguard",
jvm_flags = [
# Prevent ProGuard from calling out to the internet through log4j.
"-Dlog4j.rootLogger=OFF",
],
main_class = "proguard.ProGuard",
runtime_deps = ["@maven//:com_guardsquare_proguard_base"],
)
Expand Down

0 comments on commit 6f244ba

Please sign in to comment.