From f438ee9044f9b87d649615aecf961c380c5f35a3 Mon Sep 17 00:00:00 2001 From: FlorianMichael <60033407+FlorianMichael@users.noreply.github.com> Date: Sat, 23 Mar 2024 12:34:42 +0100 Subject: [PATCH] Update Hangar publish plugin --- build.gradle | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/build.gradle b/build.gradle index 4c199ba..b11c9c5 100644 --- a/build.gradle +++ b/build.gradle @@ -1,9 +1,7 @@ -import io.papermc.hangarpublishplugin.model.Platforms - plugins { id "java-library" id "maven-publish" - id "io.papermc.hangar-publish-plugin" version "0.1.0" + id "io.papermc.hangar-publish-plugin" version "0.1.2" } repositories { @@ -93,7 +91,7 @@ hangarPublish { changelog.set(changelogContent) apiKey.set(System.getenv("HANGAR_TOKEN")) platforms { - register(Platforms.PAPER) { + paper { jar.set(tasks.jar.archiveFile) platformVersions.set([property('mcVersionRange') as String]) dependencies.hangar("ViaVersion") {