From a52dfa70bf09d5a785a6434d6c516d1a7be577ea Mon Sep 17 00:00:00 2001 From: Jason Penilla <11360596+jpenilla@users.noreply.github.com> Date: Sun, 15 Dec 2024 00:39:46 -0700 Subject: [PATCH] use helper functions --- build.gradle.kts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 00a4cf7..63eff6c 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -7,10 +7,8 @@ plugins { } paperweight { - upstreams.register("paper") { - repo.set("https://github.com/PaperMC/Paper.git") - ref.set("aaf151c03d48f51b10f278e26143dd8ea9db6acb") - paper = true + upstreams.paper { + ref = "aaf151c03d48f51b10f278e26143dd8ea9db6acb" patchFile { path = "paper-server/build.gradle.kts"