From 79ae46c505c82f26e78db19b7a4e3944dbe1c44b Mon Sep 17 00:00:00 2001 From: zontreck Date: Sun, 19 Nov 2023 06:46:51 -0700 Subject: [PATCH] Dependencies were not being saved in the 1.20 jar file in a embedded way --- build.gradle | 5 +++++ gradle.properties | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 9f18b67..6acba30 100644 --- a/build.gradle +++ b/build.gradle @@ -203,6 +203,11 @@ tasks.named('processResources', ProcessResources).configure { // Example for how to get properties into the manifest for reading at runtime. tasks.named('jar', Jar).configure { + from { + configurations.provided.asFileTree.collect{zipTree(it)} + } + duplicatesStrategy = DuplicatesStrategy.EXCLUDE + manifest { attributes([ 'Specification-Title' : mod_id, diff --git a/gradle.properties b/gradle.properties index 1a5d139..541f376 100644 --- a/gradle.properties +++ b/gradle.properties @@ -53,7 +53,7 @@ mod_name=Zontreck Library Mod # The license of the mod. Review your options at https://choosealicense.com/. All Rights Reserved is the default. mod_license=GPLv3 # The mod version. See https://semver.org/ -mod_version=1.20.1-1.0.8.1119230513 +mod_version=1.20.1-1.0.8.1119230646 # The group ID for the mod. It is only important when publishing as an artifact to a Maven repository. # This should match the base package used for the mod sources. # See https://maven.apache.org/guides/mini/guide-naming-conventions.html