From 952b7eccee889ee1c46324448b14b1294bb866ff Mon Sep 17 00:00:00 2001 From: kuroppoi <68156848+kuroppoi@users.noreply.github.com> Date: Wed, 21 Apr 2021 19:49:58 +0200 Subject: [PATCH] Added multi release attribute --- bootstrap/build.gradle | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/bootstrap/build.gradle b/bootstrap/build.gradle index d797bf8..9b414d6 100644 --- a/bootstrap/build.gradle +++ b/bootstrap/build.gradle @@ -17,7 +17,7 @@ application { } run { - workingDir = project.ext.runDir + workingDir = project.ext.runDir } @@ -26,7 +26,8 @@ jar { archiveBaseName = 'brainwine' manifest { - attributes 'Main-Class': project.ext.mainClass + attributes 'Main-Class': project.ext.mainClass, + 'Multi-Release': 'true' } from { @@ -36,7 +37,7 @@ jar { task copyJar(type: Copy) { from jar - into project.ext.outputDir + into project.ext.outputDir } jar.finalizedBy copyJar \ No newline at end of file