aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/server/0001-Setup-Gradle-project.patch
diff options
context:
space:
mode:
authorJake Potrebic <[email protected]>2023-09-24 16:05:05 -0700
committerGitHub <[email protected]>2023-09-25 09:05:05 +1000
commit298c47857ba33c6d2e42ece4e85b3ed4143298e8 (patch)
tree303bac0cf8b3117613f7836f980a2d737e49cb18 /patches/server/0001-Setup-Gradle-project.patch
parent3cf03fc31afa6b577abea5a9a2bea6579994516f (diff)
downloadPaper-298c47857ba33c6d2e42ece4e85b3ed4143298e8.tar.gz
Paper-298c47857ba33c6d2e42ece4e85b3ed4143298e8.zip
Fix tests that broke during the junit 5 update (#9757)
Co-authored-by: Jason Penilla <[email protected]>
Diffstat (limited to 'patches/server/0001-Setup-Gradle-project.patch')
-rw-r--r--patches/server/0001-Setup-Gradle-project.patch5
1 files changed, 3 insertions, 2 deletions
diff --git a/patches/server/0001-Setup-Gradle-project.patch b/patches/server/0001-Setup-Gradle-project.patch
index 770cfecb0e..9f400e92ea 100644
--- a/patches/server/0001-Setup-Gradle-project.patch
+++ b/patches/server/0001-Setup-Gradle-project.patch
@@ -28,10 +28,10 @@ index 3df8c60ab5cd1454660980883f80668d535b742b..37c3a00659ce21623be07317f4f6a45b
+/.factorypath
diff --git a/build.gradle.kts b/build.gradle.kts
new file mode 100644
-index 0000000000000000000000000000000000000000..398df317e5a84e8916a86209e10c127e23bdd563
+index 0000000000000000000000000000000000000000..813e9019e5bd487edfbb7a52592f979419fee0b5
--- /dev/null
+++ b/build.gradle.kts
-@@ -0,0 +1,138 @@
+@@ -0,0 +1,139 @@
+import io.papermc.paperweight.util.*
+
+plugins {
@@ -111,6 +111,7 @@ index 0000000000000000000000000000000000000000..398df317e5a84e8916a86209e10c127e
+
+tasks.test {
+ exclude("org/bukkit/craftbukkit/inventory/ItemStack*Test.class")
++ useJUnitPlatform()
+}
+
+fun TaskContainer.registerRunTask(