From f587e175e35148c6f810149e5507346a0ed1c829 Mon Sep 17 00:00:00 2001 From: soloturn Date: Fri, 16 Apr 2021 06:41:47 +0200 Subject: [PATCH] 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 --- build.gradle.kts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle.kts b/build.gradle.kts index 049662e9..8ba11067 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -47,7 +47,7 @@ tasks.withType { 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