Skip to content

Commit

Permalink
log4j2, java-11, need "Multi-Release: true" in MANIFEST
Browse files Browse the repository at this point in the history
if "Multi-Release: true" is not in MANIFEST, a
WARNING: sun.reflect.Reflection.getCallerClass is not supported. This will impact performance.
is displayed, and DEBUG logging not turned on. see:
https://stackoverflow.com/questions/53049346/is-log4j2-compatible-with-java-11
fixes RipMeApp#33
  • Loading branch information
soloturn committed Apr 16, 2021
1 parent 431d382 commit f587e17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ tasks.withType<Jar> {
manifest {
attributes["Main-Class"] = "com.rarchives.ripme.App"
attributes["Implementation-Version"] = archiveVersion

attributes["Multi-Release"] = "true"
}

// To add all of the dependencies otherwise a "NoClassDefFoundError" error
Expand Down

0 comments on commit f587e17

Please sign in to comment.