From 8e5aae7aa28f7b437b33cf97a2d90b6915a3a5c1 Mon Sep 17 00:00:00 2001 From: Patrick <147879351+WinniePatGG@users.noreply.github.com> Date: Fri, 5 Jun 2026 14:22:10 +0200 Subject: [PATCH] Fixxed the readme, removed useless dependency and added @throws for javadoc --- README.md | 2 +- build.gradle | 1 - src/main/java/licenselib/LicenseClient.java | 1 + 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index eb7e647..4577b2f 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ 1. Add the repository to your project: ```gradle repositories { - maven { url = "https://maven.winniepat.de/repository/maven-public/" } + maven { url = "https://maven.winniepat.de/repository/maven-releases/" } } ``` 2. Add the dependency: diff --git a/build.gradle b/build.gradle index bbf00b6..c9d0513 100644 --- a/build.gradle +++ b/build.gradle @@ -21,7 +21,6 @@ repositories { } dependencies { - implementation 'io.papermc.paper:paper-api:1.21.11-R0.1-SNAPSHOT' implementation 'com.google.code.gson:gson:2.13.1' } diff --git a/src/main/java/licenselib/LicenseClient.java b/src/main/java/licenselib/LicenseClient.java index 2ac4ee6..af51977 100644 --- a/src/main/java/licenselib/LicenseClient.java +++ b/src/main/java/licenselib/LicenseClient.java @@ -23,6 +23,7 @@ public class LicenseClient { /** * Private constructor to prevent instantiation of this utility class. + * @throws UnsupportedOperationException always thrown to indicate that this class should not be instantiated. */ private LicenseClient() { throw new UnsupportedOperationException("Utility class");