From b78aad916219e53a5c3e34ed2b30e5ee69399c63 Mon Sep 17 00:00:00 2001 From: sg4e <46875746+sg4e@users.noreply.github.com> Date: Tue, 1 Sep 2020 05:52:12 -0400 Subject: [PATCH] Fix log4j for jar file --- build.gradle | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 88ced92..169f5a2 100644 --- a/build.gradle +++ b/build.gradle @@ -50,7 +50,8 @@ application { jar { manifest { - attributes 'Main-Class': 'sg4e.ygofm.mana.Launcher' + attributes 'Main-Class': 'sg4e.ygofm.mana.Launcher', + "Multi-Release": true } from { configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }