diff options
author | MiniDigger | Martin <[email protected]> | 2024-01-08 20:18:38 +0100 |
---|---|---|
committer | MiniDigger | Martin <[email protected]> | 2024-01-08 20:18:38 +0100 |
commit | 0a44692ef6ff6e255d48eb3ba1bb114166eafda9 (patch) | |
tree | f7ce5870422a20dc1a753e24790bc65ac826c01c | |
parent | e6137f7f1c248bf723a50e1cd1b1cb6d29365b88 (diff) | |
download | Paper-0a44692ef6ff6e255d48eb3ba1bb114166eafda9.tar.gz Paper-0a44692ef6ff6e255d48eb3ba1bb114166eafda9.zip |
add example lib patch
-rw-r--r-- | build.gradle.kts | 2 | ||||
-rw-r--r-- | patches/sources/oshi/SystemInfo.java.patch | 11 |
2 files changed, 12 insertions, 1 deletions
diff --git a/build.gradle.kts b/build.gradle.kts index 64177b41c2..38e491b13b 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -11,7 +11,7 @@ plugins { java `maven-publish` 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 { diff --git a/patches/sources/oshi/SystemInfo.java.patch b/patches/sources/oshi/SystemInfo.java.patch new file mode 100644 index 0000000000..9d238ecf6d --- /dev/null +++ b/patches/sources/oshi/SystemInfo.java.patch @@ -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). |