From e32a8c40c6c698f040855a70f10ef8c81df4e621 Mon Sep 17 00:00:00 2001
From: Phillipp Glanz
Date: Thu, 16 Mar 2023 10:45:22 +0100
Subject: [PATCH] Bump run paper to 1.19.3 and replace path with better
solution (#2150)
---
build.gradle.kts | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/build.gradle.kts b/build.gradle.kts
index 5970f0ebb..1aa56fd14 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -85,8 +85,9 @@ applyCommonConfiguration()
tasks {
runServer {
- minecraftVersion("1.19")
- pluginJars(project(":worldedit-bukkit").file("build/libs/FastAsyncWorldEdit-Bukkit-$version.jar"))
+ minecraftVersion("1.19.3")
+ pluginJars(*project(":worldedit-bukkit").getTasksByName("shadowJar", false).map { (it as Jar).archiveFile }
+ .toTypedArray())
}
}