Skip to content

Commit

Permalink
Update build.gradle.kts to use mcVersion in final jar
Browse files Browse the repository at this point in the history
  • Loading branch information
VixidDev committed Jun 17, 2024
1 parent 1089ddc commit 9287a1c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,8 @@ val remapJar by tasks.named<net.fabricmc.loom.task.RemapJarTask>("remapJar") {
archiveClassifier.set("")
from(tasks.shadowJar)
input.set(tasks.shadowJar.get().archiveFile)

archiveFileName.set("${project.name}-$mcVersion-${project.version}.jar")
}

tasks.jar {
Expand Down

0 comments on commit 9287a1c

Please sign in to comment.