Fixxed the readme, removed useless dependency and added @throws for javadoc
This commit is contained in:
@@ -5,7 +5,7 @@
|
|||||||
1. Add the repository to your project:
|
1. Add the repository to your project:
|
||||||
```gradle
|
```gradle
|
||||||
repositories {
|
repositories {
|
||||||
maven { url = "https://maven.winniepat.de/repository/maven-public/" }
|
maven { url = "https://maven.winniepat.de/repository/maven-releases/" }
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
2. Add the dependency:
|
2. Add the dependency:
|
||||||
|
|||||||
@@ -21,7 +21,6 @@ repositories {
|
|||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation 'io.papermc.paper:paper-api:1.21.11-R0.1-SNAPSHOT'
|
|
||||||
implementation 'com.google.code.gson:gson:2.13.1'
|
implementation 'com.google.code.gson:gson:2.13.1'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -23,6 +23,7 @@ public class LicenseClient {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Private constructor to prevent instantiation of this utility class.
|
* Private constructor to prevent instantiation of this utility class.
|
||||||
|
* @throws UnsupportedOperationException always thrown to indicate that this class should not be instantiated.
|
||||||
*/
|
*/
|
||||||
private LicenseClient() {
|
private LicenseClient() {
|
||||||
throw new UnsupportedOperationException("Utility class");
|
throw new UnsupportedOperationException("Utility class");
|
||||||
|
|||||||
Reference in New Issue
Block a user