mirror of
https://github.com/AppleCommander/bastools.git
synced 2025-03-12 04:29:28 +00:00
Updating version of Picocli.
This commit is contained in:
parent
848468ed21
commit
ca87be4733
@ -20,7 +20,7 @@ bootJar {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation 'info.picocli:picocli:3.0.2'
|
||||
implementation 'info.picocli:picocli:4.7.5'
|
||||
implementation 'net.sf.applecommander:applesingle-api:1.2.2'
|
||||
implementation project(':bastools-api')
|
||||
}
|
||||
|
@ -103,7 +103,8 @@ public class Main implements Callable<Void> {
|
||||
|
||||
public static void main(String[] args) throws FileNotFoundException, IOException {
|
||||
try {
|
||||
CommandLine.call(new Main(), args);
|
||||
int exitCode = new CommandLine(new Main()).execute(args);
|
||||
System.exit(exitCode);
|
||||
} catch (Throwable t) {
|
||||
if (Main.debugFlag) {
|
||||
t.printStackTrace(System.err);
|
||||
|
@ -20,7 +20,7 @@ bootJar {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation 'info.picocli:picocli:3.0.2'
|
||||
implementation 'info.picocli:picocli:4.7.5'
|
||||
implementation 'net.sf.applecommander:applesingle-api:1.2.2'
|
||||
implementation 'net.sf.applecommander:AppleCommander:1.8.0'
|
||||
implementation project(':bastools-api')
|
||||
|
@ -26,7 +26,8 @@ public class Main implements Runnable {
|
||||
|
||||
public static void main(String[] args) {
|
||||
try {
|
||||
CommandLine.run(new Main(), args);
|
||||
int exitCode = new CommandLine(new Main()).execute(args);
|
||||
System.exit(exitCode);
|
||||
} catch (Throwable t) {
|
||||
if (Main.debugFlag) {
|
||||
t.printStackTrace(System.err);
|
||||
|
Loading…
x
Reference in New Issue
Block a user