From 0a48c8426fa4daf93862be386b8914920f473088 Mon Sep 17 00:00:00 2001 From: david Date: Fri, 5 Jul 2024 22:53:21 +0200 Subject: [PATCH] [ci skip] fixed modrinth publishing --- build.gradle.kts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 909a7999..ddfca5a9 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -109,9 +109,9 @@ hangarPublish { // docs - https://docs.papermc.io/misc/hangar-publishing modrinth { token.set(System.getenv("MODRINTH_TOKEN")) - projectId.set("gBIw3Gvy") + projectId.set("a2wQ6jIv") versionType = if (isRelease) "release" else "beta" - uploadFile.set(tasks.shadowJar.flatMap { it.archiveFile }) + uploadFile.set(tasks.shadowJar) gameVersions.set(versions) loaders.add("paper") dependencies {