Skip to content

Commit

Permalink
Publish it.
Browse files Browse the repository at this point in the history
  • Loading branch information
toxicity188 committed Dec 31, 2024
1 parent 096154f commit d6bd3ba
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,10 @@ hangarPublish {
channel = "Snapshot"
platforms {
register(Platforms.PAPER) {
jar = file("build/libs/${project.name}-${project.version}.jar")
jar = tasks.shadowJar.flatMap { it.archiveFile }
platformVersions = (property("paperVersion") as String)
.split(",")
.map { it.trim() }
}
}
}
Expand Down

0 comments on commit d6bd3ba

Please sign in to comment.