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:
@@ -47,7 +47,7 @@ tasks.withType<Jar> {
|
|||||||
manifest {
|
manifest {
|
||||||
attributes["Main-Class"] = "com.rarchives.ripme.App"
|
attributes["Main-Class"] = "com.rarchives.ripme.App"
|
||||||
attributes["Implementation-Version"] = archiveVersion
|
attributes["Implementation-Version"] = archiveVersion
|
||||||
|
attributes["Multi-Release"] = "true"
|
||||||
}
|
}
|
||||||
|
|
||||||
// To add all of the dependencies otherwise a "NoClassDefFoundError" error
|
// To add all of the dependencies otherwise a "NoClassDefFoundError" error
|
||||||
|
Reference in New Issue
Block a user