Skip to content

Commit

Permalink
build: use the right jar for publish to modrinth and handar
Browse files Browse the repository at this point in the history
  • Loading branch information
rexlManu committed Jun 18, 2023
1 parent a06365b commit 181e8b7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ modrinth {

syncBodyFrom.set(rootProject.file("README.md").readText())

uploadFile.set(tasks.shadowJar)
uploadFile.set(buildDir.resolve("libs").resolve("FairyChat-${rootProject.version}.jar"))
gameVersions.addAll(versions)
loaders.addAll(listOf("paper", "purpur", "folia"))
changelog.set(System.getenv("MODRINTH_CHANGELOG"))
Expand All @@ -101,7 +101,7 @@ hangarPublish {
// register platforms
platforms {
register(Platforms.PAPER) {
jar.set(tasks.shadowJar.flatMap { it.archiveFile })
jar.set(buildDir.resolve("libs").resolve("FairyChat-${rootProject.version}.jar"))
platformVersions.set(versions)
dependencies {
hangar("MiniPlaceholders", "MiniPlaceholders") {
Expand Down

0 comments on commit 181e8b7

Please sign in to comment.