From 2ae8767e97f3bcfe17c1114a3151adf839b5d2e9 Mon Sep 17 00:00:00 2001
From: rschoene <rene.schoene@tu-dresden.de>
Date: Tue, 19 Jan 2021 14:09:03 +0100
Subject: [PATCH] Address warning for log4j when compiling.

---
 ragconnect.base/build.gradle | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/ragconnect.base/build.gradle b/ragconnect.base/build.gradle
index 008c718..b3e89a6 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 {
-- 
GitLab