Skip to content

Commit

Permalink
Fix log4j for jar file
Browse files Browse the repository at this point in the history
  • Loading branch information
sg4e committed Sep 1, 2020
1 parent 25ed1ea commit b78aad9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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) }
Expand Down

0 comments on commit b78aad9

Please sign in to comment.