mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-28 20:07:41 +01:00
Fix startup delay and warning caused by oshi
This commit is contained in:
parent
601c40df88
commit
eac2ccfb3a
20
patches/server/Update-oshi-core-dependency.patch
Normal file
20
patches/server/Update-oshi-core-dependency.patch
Normal file
@ -0,0 +1,20 @@
|
||||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||
From: Nassim Jahnke <nassim@njahnke.dev>
|
||||
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 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
|
||||
--- a/build.gradle.kts
|
||||
+++ b/build.gradle.kts
|
||||
@@ -0,0 +0,0 @@ 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")
|
Loading…
Reference in New Issue
Block a user