From f9dc26537727e684f9dded92f9401cf76144840e Mon Sep 17 00:00:00 2001 From: Aniket Kumar Date: Thu, 26 Oct 2023 12:06:22 +0530 Subject: [PATCH] fix: Update dependencies version (#673) --- .../java/com/crowdin/cli/utils/Utils.java | 5 +++-- versions.properties | 22 +++++++++---------- 2 files changed, 14 insertions(+), 13 deletions(-) diff --git a/src/main/java/com/crowdin/cli/utils/Utils.java b/src/main/java/com/crowdin/cli/utils/Utils.java index 0340134b7..76b3a7b41 100755 --- a/src/main/java/com/crowdin/cli/utils/Utils.java +++ b/src/main/java/com/crowdin/cli/utils/Utils.java @@ -6,7 +6,8 @@ import org.apache.commons.lang3.tuple.ImmutablePair; import org.apache.commons.lang3.tuple.Pair; -import java.io.IOException; + +import java.io.UncheckedIOException; import java.io.UnsupportedEncodingException; import java.net.URLEncoder; import java.nio.charset.StandardCharsets; @@ -70,7 +71,7 @@ public static Boolean isWindows() { public static List readResource(String path) { try { return IOUtils.readLines(Utils.class.getResourceAsStream(path), "UTF-8"); - } catch (IOException e) { + } catch (UncheckedIOException e) { throw new RuntimeException(String.format(RESOURCE_BUNDLE.getString("error.read_resource_file"), path), e); } } diff --git a/versions.properties b/versions.properties index 06b70899f..06a4a682b 100644 --- a/versions.properties +++ b/versions.properties @@ -9,23 +9,23 @@ version.org.yaml..snakeyaml=1.33 -version.org.projectlombok..lombok=1.18.26 +version.org.projectlombok..lombok=1.18.30 version.org.json..json=20230227 -version.org.glassfish.jersey.media..jersey-media-multipart=3.1.1 +version.org.glassfish.jersey.media..jersey-media-multipart=3.1.3 -version.org.glassfish.jersey.inject..jersey-hk2=3.1.1 +version.org.glassfish.jersey.inject..jersey-hk2=3.1.3 -version.org.glassfish.jersey.core..jersey-client=3.1.1 +version.org.glassfish.jersey.core..jersey-client=3.1.3 -version.org.apache.logging.log4j..log4j-core=2.20.0 +version.org.apache.logging.log4j..log4j-core=2.21.0 -version.org.apache.logging.log4j..log4j-api=2.20.0 +version.org.apache.logging.log4j..log4j-api=2.21.0 version.org.apache.httpcomponents..httpclient=4.5.14 -version.org.apache.commons..commons-lang3=3.12.0 +version.org.apache.commons..commons-lang3=3.13.0 version.net.ricecode..string-similarity=1.0.0 @@ -33,19 +33,19 @@ version.net.lingala.zip4j..zip4j=2.11.5 version.mockito=3.12.4 -version.junit.jupiter=5.9.3 +version.junit.jupiter=5.10.0 version.javax.activation..activation=1.1.1 version.io.github.cdimascio..dotenv-java=2.3.2 -version.info.picocli..picocli-codegen=4.7.4 +version.info.picocli..picocli-codegen=4.7.5 -version.info.picocli..picocli=4.7.4 +version.info.picocli..picocli=4.7.5 version.hamcrest=2.2 -version.commons-io..commons-io=2.11.0 +version.commons-io..commons-io=2.14.0 version.commons-cli..commons-cli=1.5.0