Skip to content

Commit

Permalink
Update run-task
Browse files Browse the repository at this point in the history
  • Loading branch information
jpenilla committed Sep 21, 2023
1 parent 4f964b6 commit a0a1e62
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gradle/libs.versions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:

plugins:
org.spongepowered.gradle.plugin: 2.1.1
xyz.jpenilla.run-paper: &run-task 2.1.0
xyz.jpenilla.run-paper: &run-task 2.2.0
xyz.jpenilla.run-velocity: *run-task
io.papermc.hangar-publish-plugin: 0.0.5
net.kyori.indra.publishing.sonatype: &indra 3.1.3
Expand Down
3 changes: 3 additions & 0 deletions paper/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ tasks {
}
runServer {
version.set(libs.versions.minecraft)
downloadPlugins {
url("https://download.luckperms.net/1515/bukkit/loader/LuckPerms-Bukkit-5.4.102.jar")
}
}
register<RunServer>("runServer2") {
version.set(libs.versions.minecraft)
Expand Down
5 changes: 4 additions & 1 deletion velocity/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,10 @@ tasks {
relocateDependency("io.leangen.geantyref")
}
runVelocity {
velocityVersion(libs.versions.velocityApi.get())
velocityVersion(libs.versions.velocityApi.get())
downloadPlugins {
url("https://download.luckperms.net/1515/velocity/LuckPerms-Velocity-5.4.102.jar")
}
}
processResources {
replace("velocity-plugin.json", mapOf(
Expand Down

0 comments on commit a0a1e62

Please sign in to comment.