Skip to content

Commit

Permalink
misc: Convert string concatenations to templates in PacketEvents plug…
Browse files Browse the repository at this point in the history
…in download for runVelocity task
  • Loading branch information
MemencioPerez committed May 9, 2024
1 parent 6e196bb commit 882013e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,9 @@ tasks {
runVelocity {
val packetEventsVersion = libs.versions.packetevents.get()
downloadPlugins {
github("retrooper", "packetevents", "v" + packetEventsVersion, "packetevents-velocity-" + packetEventsVersion + ".jar")
github("retrooper", "packetevents", "v$packetEventsVersion",
"packetevents-velocity-$packetEventsVersion.jar"
)
}
velocityVersion(libs.versions.velocity.get())
}
Expand Down

0 comments on commit 882013e

Please sign in to comment.