Fetch LuckPerms download link dynamically, update repository configuration

This commit is contained in:
Jason Penilla committed 2025-07-13 11:26:13 -07:00
1 parent db0ae5aac9
commit 0aaa8fa932
6 files changed
+119 -15

No files matched your search

+2 -1
View File
@@ -71,11 +71,12 @@ tasks {
relocateDependency("io.leangen.geantyref")
relocateGuice()
}
val luckperms = FetchLuckPermsJar.setup(project, "velocity")
runVelocity {
velocityVersion(libs.versions.velocityApi.get())
pluginJars.from(prod)
pluginJars.from(luckperms.flatMap { it.outputFile })
downloadPlugins {
url("https://download.luckperms.net/1575/velocity/LuckPerms-Velocity-5.4.158.jar")
github("MiniPlaceholders", "MiniPlaceholders", libs.versions.miniplaceholders.get(), "MiniPlaceholders-Velocity-${libs.versions.miniplaceholders.get()}.jar")
}
}