3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-12-16 03:20:07 +01:00
Paper/patches/server/0716-Update-oshi-core-dependency.patch
2021-07-06 04:30:39 +00:00

21 Zeilen
913 B
Diff

From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: KennyTV <jahnke.nassim@gmail.com>
Date: Sat, 19 Jun 2021 09:55:41 +0200
Subject: [PATCH] Update oshi-core dependency
This is fixed in Vanilla 1.17.1, so remove this patch when updating.
diff --git a/build.gradle.kts b/build.gradle.kts
index cf157f1ee695149057d361e2334efb982a52540f..1053799ea1f654e1885c46d34a145b9d9fd34a21 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -50,6 +50,8 @@ dependencies {
implementation("co.aikar:cleaner:1.0-SNAPSHOT") // Paper
implementation("io.netty:netty-all:4.1.65.Final") // Paper
+ implementation("com.github.oshi:oshi-core:5.7.5") // Paper - fix startup delay and warning
+
testImplementation("io.github.classgraph:classgraph:4.8.47") // Paper - mob goal test
testImplementation("junit:junit:4.13.1")
testImplementation("org.hamcrest:hamcrest-library:1.3")