From 721d0b00e055d15b350c1e9242bcb3c8e8f0b319 Mon Sep 17 00:00:00 2001 From: MarbleGate Date: Sat, 24 Feb 2024 21:34:53 +0800 Subject: [PATCH] Update mod-publish-plugin --- build.gradle | 126 ++------------------------------------------------- 1 file changed, 3 insertions(+), 123 deletions(-) diff --git a/build.gradle b/build.gradle index f7971af..3088fc1 100644 --- a/build.gradle +++ b/build.gradle @@ -4,7 +4,7 @@ plugins { id 'org.spongepowered.mixin' id 'org.parchmentmc.librarian.forgegradle' id 'maven-publish' - id "me.modmuss50.mod-publish-plugin" version "0.3.5" + id "me.modmuss50.mod-publish-plugin" version "0.5.1" } version = mod_version @@ -190,134 +190,14 @@ publishMods { projectId = "820977" accessToken = providers.environmentVariable("CURSEFORGE_TOKEN") minecraftVersions.add(minecraft_version) - - requires { - slug = "create" - } - optional { - slug = "createaddition" - } - optional { - slug = "farmers-delight" - } - optional { - slug = "farmers-respite" - } - optional { - slug = "miners-delight-plus" - } - optional { - slug = "nethers-delight" - } - optional { - slug = "abnormals-delight" - } - optional { - slug = "atmospheric" - } - optional { - slug = "autumnity" - } - optional { - slug = "buzzier-bees" - } - optional { - slug = "environmental" - } - optional { - slug = "neapolitan" - } - optional { - slug = "upgrade-aquatic" - } - optional { - slug = "peculiars" - } - optional { - slug = "respiteful" - } - optional { - slug = "seasonals" - } - optional { - slug = "cookielicious" - } - optional { - slug = "corn-delight" - } - optional { - slug = "overweight-farming" - } - optional { - slug = "collectors-reap" - } + requires("create") } modrinth { projectId = "btq68HMO" accessToken = providers.environmentVariable("MODRINTH_TOKEN") minecraftVersions.add(minecraft_version) - - requires { - slug = "create" - } - optional { - slug = "createaddition" - } - optional { - slug = "farmers-delight" - } - optional { - slug = "farmers-respite" - } - optional { - slug = "miners-delight-plus" - } - optional { - slug = "nethers-delight" - } - optional { - slug = "abnormals-delight" - } - optional { - slug = "atmospheric" - } - optional { - slug = "autumnity" - } - optional { - slug = "buzzier-bees" - } - optional { - slug = "environmental" - } - optional { - slug = "neapolitan" - } - optional { - slug = "upgrade-aquatic" - } - optional { - slug = "peculiars" - } - optional { - slug = "respiteful" - } - optional { - slug = "seasonals" - } - optional { - slug = "cookielicious" - } - optional { - slug = "corn-delight" - } - optional { - slug = "overweight-farming" - } - optional { - slug = "collectors-reap" - } + requires("create") } }