From b1c0d2bf85abfe1021841dd9983eb1d903710ba9 Mon Sep 17 00:00:00 2001 From: kyonRay Date: Sat, 2 Mar 2024 11:58:28 +0800 Subject: [PATCH] (build): update code generator, jline. --- build.gradle | 4 ++-- .../java/console/command/completer/ConsoleFilesCompleter.java | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/build.gradle b/build.gradle index a6e475c7..c91ad08e 100644 --- a/build.gradle +++ b/build.gradle @@ -43,12 +43,12 @@ dependencies { //compile 'org.fisco-bcos:solcJ:0.5.2.2' compile ('org.fisco-bcos.java-sdk:fisco-bcos-java-sdk:2.10.0-SNAPSHOT') compile ("com.fasterxml.jackson.core:jackson-databind:2.15.2") - compile('org.fisco-bcos.code-generator:bcos-code-generator:1.2.0-SNAPSHOT') { + compile('org.fisco-bcos.code-generator:bcos-code-generator:1.4.0-SNAPSHOT') { exclude group: "org.fisco-bcos.java-sdk" exclude group: "org.slf4j" } compile("commons-cli:commons-cli:1.3.1") - compile 'org.jline:jline:3.12.0' + compile 'org.jline:jline:3.25.0' compile 'io.bretty:console-table-builder:1.2' compile 'com.github.jsqlparser:jsqlparser:2.0' testCompile 'com.github.stefanbirkner:system-rules:1.18.0' diff --git a/src/main/java/console/command/completer/ConsoleFilesCompleter.java b/src/main/java/console/command/completer/ConsoleFilesCompleter.java index 607f110f..d88ed62f 100644 --- a/src/main/java/console/command/completer/ConsoleFilesCompleter.java +++ b/src/main/java/console/command/completer/ConsoleFilesCompleter.java @@ -39,7 +39,6 @@ public ConsoleFilesCompleter(Path solidityPath) { this.solidityPath = solidityPath; } - @Override protected String getDisplay(Terminal terminal, Path p) { String name = p.getFileName().toString(); // do not display .sol