Update Hangar publish plugin

This commit is contained in:
FlorianMichael 2024-03-23 12:34:42 +01:00
parent 9b3a6717c9
commit f438ee9044
No known key found for this signature in database
GPG Key ID: C2FB87E71C425126
1 changed files with 2 additions and 4 deletions

View File

@ -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") {