From 1c5b4612a55923607d3d1b9e2fbacd79a3203cab Mon Sep 17 00:00:00 2001 From: Raven Szewczyk Date: Mon, 24 Apr 2023 15:39:55 +0100 Subject: [PATCH] Fix the embed configuration --- build.gradle | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 7dc3400..f92a21f 100644 --- a/build.gradle +++ b/build.gradle @@ -69,7 +69,6 @@ repositories { } dependencies { - if (project.use_assetmover.toBoolean()) { implementation 'com.cleanroommc:assetmover:2.0' } @@ -161,6 +160,8 @@ jar { } attributes(attribute_map) } + // Add all embedded dependencies into the jar + from(provider{ configurations.embed.collect {it.isDirectory() ? it : zipTree(it)} }) } idea {