File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed
Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change 1- import io.papermc.hangarpublishplugin.model.Platforms
2-
31plugins {
4- id(" io.papermc.hangar-publish-plugin" ) version " 0.1.0 "
2+ id(" io.papermc.hangar-publish-plugin" ) version " 0.1.2 "
53 id(" com.modrinth.minotaur" ) version " 2.+"
64}
75
@@ -80,15 +78,15 @@ if (!isRelease || isMainBranch) { // Only publish releases from the main branch
8078 changelog.set(changelogContent)
8179 apiKey.set(System .getenv(" HANGAR_TOKEN" ))
8280 platforms {
83- register( Platforms . PAPER ) {
81+ paper {
8482 jar.set(tasks.shadowJar.flatMap { it.archiveFile })
8583 platformVersions.set(listOf (property(" mcVersionRange" ) as String ))
8684 }
87- register( Platforms . VELOCITY ) {
85+ velocity {
8886 jar.set(tasks.shadowJar.flatMap { it.archiveFile })
8987 platformVersions.set(listOf (property(" velocityVersion" ) as String ))
9088 }
91- register( Platforms . WATERFALL ) {
89+ waterfall {
9290 jar.set(tasks.shadowJar.flatMap { it.archiveFile })
9391 platformVersions.set(listOf (property(" waterfallVersion" ) as String ))
9492 }
You can’t perform that action at this time.
0 commit comments