3
0
Mirror von https://github.com/ViaVersion/ViaBackwards.git synchronisiert 2024-07-03 14:18:03 +02:00

[ci skip] Update Hangar publish plugin

Dieser Commit ist enthalten in:
Nassim Jahnke 2023-08-26 20:05:17 +10:00
Ursprung 108e96ec6d
Commit 082b61a956

Datei anzeigen

@ -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)
}
}