From b90c9dfd27f327f5cf38d202fbb5908f7683cdd5 Mon Sep 17 00:00:00 2001 From: Barteks2x Date: Sun, 6 Oct 2019 03:39:44 +0200 Subject: [PATCH] Fix shadowJar --- build.gradle | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/build.gradle b/build.gradle index 6d102d1..092b2e4 100644 --- a/build.gradle +++ b/build.gradle @@ -12,7 +12,7 @@ buildscript { apply plugin: 'com.github.johnrengelman.shadow' apply plugin: 'java' -version = "2.0" +version = "2.1" group = "ofdev" // http://maven.apache.org/guides/mini/guide-naming-conventions.html archivesBaseName = "aa_do_not_rename_OptiFineDevTweaker" @@ -73,9 +73,11 @@ task shadowJarML(type: ShadowJar) { } shadowJar { - from { - shadowJarLW - shadowJarML + from(shadowJarLW.archivePath.absolutePath) { + include '*' + } + from (shadowJarML.archivePath.absolutePath) { + include '*' } classifier = "all"