mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-24 08:06:41 +01:00
add example lib patch
This commit is contained in:
parent
e6137f7f1c
commit
0a44692ef6
2 changed files with 12 additions and 1 deletions
|
@ -11,7 +11,7 @@ plugins {
|
||||||
java
|
java
|
||||||
`maven-publish`
|
`maven-publish`
|
||||||
id("com.github.johnrengelman.shadow") version "8.1.1" apply false
|
id("com.github.johnrengelman.shadow") version "8.1.1" apply false
|
||||||
id("io.papermc.paperweight.core") version "2.0-SNAPSHOT"
|
id("io.papermc.paperweight.core") version "2.0.0-SNAPSHOT"
|
||||||
}
|
}
|
||||||
|
|
||||||
allprojects {
|
allprojects {
|
||||||
|
|
11
patches/sources/oshi/SystemInfo.java.patch
Normal file
11
patches/sources/oshi/SystemInfo.java.patch
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
--- a/oshi/SystemInfo.java
|
||||||
|
+++ b/oshi/SystemInfo.java
|
||||||
|
@@ -28,7 +28,7 @@
|
||||||
|
import oshi.software.os.windows.WindowsOperatingSystem;
|
||||||
|
|
||||||
|
/**
|
||||||
|
- * System information. This is the main entry point to OSHI.
|
||||||
|
+ * System information. This is the main entry point to OSHI. Example
|
||||||
|
* <p>
|
||||||
|
* This object provides getters which instantiate the appropriate platform-specific implementations of
|
||||||
|
* {@link oshi.software.os.OperatingSystem} (software) and {@link oshi.hardware.HardwareAbstractionLayer} (hardware).
|
Loading…
Reference in a new issue