From e7c545782b1135d74a6a9d9bf82c76421b28e682 Mon Sep 17 00:00:00 2001 From: comp500 Date: Mon, 2 Jan 2023 06:18:53 +0000 Subject: [PATCH] Fix Modrinth upload for new gameVersions/loaders fields --- build.gradle | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/build.gradle b/build.gradle index 91aa312..f47b247 100644 --- a/build.gradle +++ b/build.gradle @@ -155,11 +155,8 @@ if (System.getenv("MODRINTH_TOKEN")) { projectId = project.modrinth_id versionNumber = project.version uploadFile = remapJar - for (version in supportedVersions) { - addGameVersion(version) - } - addLoader("fabric") - addLoader("quilt") + gameVersions = supportedVersions + loaders = ["fabric", "quilt"] detectLoaders = false versionName = verName changelog = getChangelog(project.source_url)