From 76ce2cce5861d7e8c060c78d6946460dd0799f0b 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 | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/build.gradle b/build.gradle index 6fba931..7080670 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.4.5" + id "me.modmuss50.mod-publish-plugin" version "0.5.1" } version = mod_version @@ -194,20 +194,14 @@ publishMods { projectId = "820977" accessToken = providers.environmentVariable("CURSEFORGE_TOKEN") minecraftVersions.add(minecraft_version) - - requires { - slug = "create" - } + requires("create") } modrinth { projectId = "btq68HMO" accessToken = providers.environmentVariable("MODRINTH_TOKEN") minecraftVersions.add(minecraft_version) - - requires { - slug = "create" - } + requires("create") } }