Disable log4j jansi support when compiling, removes a warning about it.

dev/0.11
modmuss50 2021-02-13 18:04:16 +00:00
parent dd440acb8e
commit 2070aeb94a
1 changed files with 1 additions and 0 deletions

View File

@ -262,6 +262,7 @@ public final class CompileConfiguration {
// Disable some things used by log4j via the mixin AP that prevent it from being garbage collected
System.setProperty("log4j2.disable.jmx", "true");
System.setProperty("log4j.shutdownHookEnabled", "false");
System.setProperty("log4j.skipJansi", "true");
project.getLogger().info("Configuring compiler arguments for Java");
new JavaApInvoker(project).configureMixin();