From d566e0228782102f87976b8d785998bebeaaf8fc Mon Sep 17 00:00:00 2001 From: david Date: Fri, 5 Jul 2024 23:00:02 +0200 Subject: [PATCH] [ci skip] fixed modrinth publish --- build.gradle.kts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle.kts b/build.gradle.kts index 5ed05ef..cd0db45 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -190,7 +190,7 @@ modrinth { token.set(System.getenv("MODRINTH_TOKEN")) projectId.set("HLkJsjy0") versionType = if (isRelease) "release" else "beta" - uploadFile.set(tasks.shadowJar.flatMap { it.archiveFile }) + uploadFile.set(tasks.shadowJar) gameVersions.set(versions) loaders.add("paper") loaders.add("folia")