From 484ef5f399d826bfd24e0a298d6bc8f049b830d9 Mon Sep 17 00:00:00 2001 From: Craig Raw Date: Wed, 20 Nov 2024 13:09:28 +0200 Subject: [PATCH] upgrade jcommander to 2.0 --- build.gradle | 4 ++-- src/main/java/module-info.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build.gradle b/build.gradle index d447f4c2..8b4eff38 100644 --- a/build.gradle +++ b/build.gradle @@ -79,7 +79,7 @@ dependencies { implementation('com.google.zxing:javase:3.4.0') { exclude group: 'com.beust', module: 'jcommander' } - implementation('com.beust:jcommander:1.81') + implementation('org.jcommander:jcommander:2.0') implementation('com.github.arteam:simple-json-rpc-core:1.3') implementation('com.github.arteam:simple-json-rpc-client:1.3') { exclude group: 'com.github.arteam', module: 'simple-json-rpc-core' @@ -661,7 +661,7 @@ extraJavaModuleInfo { exports('io.matthewnelson.component.parcelize') } module('jnacl-1.0.0.jar', 'eu.neilalexander.jnacl', '1.0.0') - module('jcommander-1.81.jar', 'com.beust.jcommander', '1.81') { + module('jcommander-2.0.jar', 'org.jcommander', '2.0') { exports('com.beust.jcommander') } module('jzlib-1.1.3.jar', 'com.jcraft.jzlib', '1.1.3') { diff --git a/src/main/java/module-info.java b/src/main/java/module-info.java index 84031d7e..f1a77617 100644 --- a/src/main/java/module-info.java +++ b/src/main/java/module-info.java @@ -44,7 +44,7 @@ open module com.sparrowwallet.sparrow { requires org.fxmisc.flowless; requires com.github.sarxos.webcam.capture; requires centerdevice.nsmenufx; - requires com.beust.jcommander; + requires org.jcommander; requires jul.to.slf4j; requires net.sourceforge.javacsv; requires com.nativelibs4java.bridj;