From 687a21f5a00a8b2d68232c7ffb184e3c9543b4b1 Mon Sep 17 00:00:00 2001 From: Holly Cummins Date: Sun, 11 Aug 2024 12:55:42 +0100 Subject: [PATCH] Tidy redundant fatjar logic --- modded-minecraft/build.gradle | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/modded-minecraft/build.gradle b/modded-minecraft/build.gradle index 265dc25..63a13c3 100644 --- a/modded-minecraft/build.gradle +++ b/modded-minecraft/build.gradle @@ -169,18 +169,6 @@ jar { } } -task farjar(type: Jar) { - duplicatesStrategy = DuplicatesStrategy.EXCLUDE - from { - configurations.runtimeClasspath.findAll { file -> - // Exclude the transitive dependencies of minecraft dependency type, which should not go into the fat jar - // when true, jar file is unzipped and added - // The one exception is the forge jar itself - !configurations.minecraft.contains(file) - }.collect { it.isDirectory() ? it : zipTree(it) } - } -} - jar { duplicatesStrategy = DuplicatesStrategy.EXCLUDE from {