From 082b61a9565e225a0a8635cd702a4ba40bb9c545 Mon Sep 17 00:00:00 2001 From: Nassim Jahnke Date: Sat, 26 Aug 2023 20:05:17 +1000 Subject: [PATCH] [ci skip] Update Hangar publish plugin --- universal/build.gradle.kts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/universal/build.gradle.kts b/universal/build.gradle.kts index 8af43197..9c13163a 100644 --- a/universal/build.gradle.kts +++ b/universal/build.gradle.kts @@ -3,7 +3,7 @@ import io.papermc.hangarpublishplugin.model.Platforms plugins { id("com.github.johnrengelman.shadow") - id("io.papermc.hangar-publish-plugin") version "0.0.5" + id("io.papermc.hangar-publish-plugin") version "0.1.0" id("com.modrinth.minotaur") version "2.+" } @@ -87,7 +87,7 @@ modrinth { hangarPublish { publications.register("plugin") { version.set(suffixedVersion) - namespace("ViaVersion", "ViaBackwards") + id.set("ViaBackwards") channel.set(if (isRelease) "Release" else if (isMainBranch) "Snapshot" else "Alpha") changelog.set(changelogContent) apiKey.set(System.getenv("HANGAR_TOKEN")) @@ -96,7 +96,7 @@ hangarPublish { jar.set(tasks.shadowJar.flatMap { it.archiveFile }) platformVersions.set(listOf(property("mcVersionRange") as String)) dependencies { - hangar("ViaVersion", "ViaVersion") { + hangar("ViaVersion") { required.set(true) } } @@ -105,7 +105,7 @@ hangarPublish { jar.set(tasks.shadowJar.flatMap { it.archiveFile }) platformVersions.set(listOf(property("velocityVersion") as String)) dependencies { - hangar("ViaVersion", "ViaVersion") { + hangar("ViaVersion") { required.set(true) } } @@ -114,7 +114,7 @@ hangarPublish { jar.set(tasks.shadowJar.flatMap { it.archiveFile }) platformVersions.set(listOf(property("waterfallVersion") as String)) dependencies { - hangar("ViaVersion", "ViaVersion") { + hangar("ViaVersion") { required.set(true) } }