From 5a7afc0b41cf3e99cb3c3673fc6f17ef0694ca83 Mon Sep 17 00:00:00 2001 From: xMrAfonso Date: Mon, 8 May 2023 15:24:04 +0200 Subject: [PATCH] 1.1.0 Additions, Changes and fixes Took 2 minutes --- build.gradle | 1 + src/main/java/me/mrafonso/hangar4j/HangarClient.java | 1 + 2 files changed, 2 insertions(+) diff --git a/build.gradle b/build.gradle index b4b6686..5571725 100644 --- a/build.gradle +++ b/build.gradle @@ -18,6 +18,7 @@ publishing { } } + dependencies { implementation 'com.google.code.gson:gson:2.10.1' implementation 'com.auth0:java-jwt:4.2.1' diff --git a/src/main/java/me/mrafonso/hangar4j/HangarClient.java b/src/main/java/me/mrafonso/hangar4j/HangarClient.java index 76138cf..d945055 100644 --- a/src/main/java/me/mrafonso/hangar4j/HangarClient.java +++ b/src/main/java/me/mrafonso/hangar4j/HangarClient.java @@ -207,6 +207,7 @@ private CompletableFuture> sendAPIRequest(String path, Requ return getUserProjects(user, 1).thenApply(hangarProjects -> hangarProjects.pagination().count()); } + /** * Retrieve information about a specific user. *