Removed useless dependencies and fixed a typo
This commit is contained in:
@@ -21,12 +21,6 @@ repositories {
|
|||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation("tools.jackson.core:jackson-databind:3.1.4")
|
|
||||||
implementation("tools.jackson.dataformat:jackson-dataformat-yaml:3.1.4")
|
|
||||||
|
|
||||||
testImplementation platform('org.junit:junit-bom:5.11.4')
|
|
||||||
testImplementation 'org.junit.jupiter:junit-jupiter'
|
|
||||||
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
|
|
||||||
implementation 'com.google.code.gson:gson:2.13.1'
|
implementation 'com.google.code.gson:gson:2.13.1'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -53,7 +53,7 @@ public class LicenseClient {
|
|||||||
* @param plugin Plugin id matching the one on the backend api
|
* @param plugin Plugin id matching the one on the backend api
|
||||||
* @param licenseKey License key issued by the api
|
* @param licenseKey License key issued by the api
|
||||||
* @param serverId Server id matching the one on the backend api
|
* @param serverId Server id matching the one on the backend api
|
||||||
* @return CompletabaleFuture with the LicenseResult from the backend
|
* @return CompletableFuture with the LicenseResult from the backend
|
||||||
*/
|
*/
|
||||||
public static CompletableFuture<LicenseResult> checkAsync(String apiUrl, String plugin, String licenseKey, String serverId) {
|
public static CompletableFuture<LicenseResult> checkAsync(String apiUrl, String plugin, String licenseKey, String serverId) {
|
||||||
try {
|
try {
|
||||||
|
|||||||
Reference in New Issue
Block a user