diff --git a/ragconnect.base/build.gradle b/ragconnect.base/build.gradle
index 008c718903e66290a28a5295200fdfc5f33fc497..b3e89a6a7fe602f4bfa87611e3002e99b446f7c6 100644
--- a/ragconnect.base/build.gradle
+++ b/ragconnect.base/build.gradle
@@ -67,6 +67,9 @@ idea.module.generatedSourceDirs += genSrc
 jar {
     manifest {
         attributes "Main-Class": 'org.jastadd.ragconnect.compiler.Compiler'
+
+        // Log4J + Java 11 compatibility, see https://stackoverflow.com/q/53049346/2493208
+        attributes "Multi-Release": true
     }
 
     from {