Skip to content

Commit

Permalink
Fix hangar publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
JulianVennen committed Jan 9, 2025
1 parent 70520e2 commit 65d9664
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -142,10 +142,9 @@ hangarPublish {
platforms {
register(io.papermc.hangarpublishplugin.model.Platforms.VELOCITY) {
// Set the JAR file to upload
jar.set(tasks.shadowJar.flatMap { it.archiveFile })
jar.set(tasks.shadowJar.outputs.files.singleFile)


platformVersions.set(hangarVelocityVersion.split(",").map { it.trim() })
platformVersions.set(project.hangarVelocityVersions.split(",").collect { it.trim() })
}
}
}
Expand Down

0 comments on commit 65d9664

Please sign in to comment.