1
0
mirror of https://github.com/RipMeApp/ripme.git synced 2025-08-17 19:26:34 +02:00

log4j2, java-11, need "Multi-Release: true" in MANIFEST

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 #33
This commit is contained in:
soloturn
2021-04-16 06:41:47 +02:00
parent 431d382c5f
commit f587e175e3

View File

@@ -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