Skip to content

Commit bc4cacc

Browse files
committed
GROOVY-12001: Bump jline to 4.1.0
1 parent 676c45c commit bc4cacc

4 files changed

Lines changed: 2 additions & 13 deletions

File tree

gradle/verification-metadata.xml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -218,10 +218,6 @@
218218
<trusted-key id="E3A9F95079E84CE201F7CF60BEDE11EAF1164480" group="org.hamcrest"/>
219219
<trusted-key id="E5C3B1929191DF06136CCB2B164779204E106A76" group="org.javassist" name="javassist"/>
220220
<trusted-key id="EA022560A81E5BD48DB3D18B54AC8E2D98CFEAC6" group="org.ysb33r.gradle"/>
221-
<trusted-key id="EA23DB1360D9029481E7F2EFECDFEA3CB4493B94">
222-
<trusting group="jline" name="jline" version="2.14.6"/>
223-
<trusting group="org.jline"/>
224-
</trusted-key>
225221
<trusted-key id="EA313384CA0EBA950EA017E937890E298D9A2BFA" group="com.eed3si9n.jarjar"/>
226222
<trusted-key id="EAFC1F3B2FCED6AFD046C7D5734AEF3D43509290" group="org.osgi"/>
227223
<trusted-key id="EC23FD5875DFF32547D5257F631ECF66932B28BA">
@@ -1148,12 +1144,6 @@
11481144
<sha512 value="dc4d2686c65bfb0c2936e8c0eb4d517152aa284ed28a7880165a4247564823f34e1e9f06785a9dbad7b4cbe90486d3e9aed4c32c75d485d29bd15b8d7642b6f9" origin="Generated by Gradle" reason="A key couldn't be downloaded"/>
11491145
</artifact>
11501146
</component>
1151-
<component group="jline" name="jline" version="2.14.6">
1152-
<artifact name="jline-2.14.6.jar">
1153-
<pgp value="EA23DB1360D9029481E7F2EFECDFEA3CB4493B94"/>
1154-
<sha512 value="27f6e2523e539383cede51d8eae7e97d49038c5a66cb4a94a9ce85165f16e7382b937a238cdb0c92e1136af56c5f57bcc6c04435a370c5d49f7e4bd32f0d9194" origin="Generated by Gradle"/>
1155-
</artifact>
1156-
</component>
11571147
<component group="joda-time" name="joda-time" version="2.12.7">
11581148
<artifact name="joda-time-2.12.7.jar">
11591149
<pgp value="B41089A2DA79B0FA5810252872385FF0AF338D52"/>

subprojects/groovy-groovysh/build.gradle

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,5 @@ tasks.named('rat') {
5656
excludes << '**/jline/ObjectInspector.groovy' // BSD license as per NOTICE/LICENSE files
5757
excludes << '**/jline/Utils.groovy' // BSD license as per NOTICE/LICENSE files
5858
excludes << '**/jline/JrtJavaBasePackages.java' // BSD license as per NOTICE/LICENSE files
59-
excludes << '**/jline/SystemRegistryImpl.java' // BSD license as per NOTICE/LICENSE files
6059
excludes << '**/jline/PackageHelper.java' // BSD license as per NOTICE/LICENSE files
6160
}

subprojects/groovy-groovysh/src/main/groovy/org/apache/groovy/groovysh/jline/GroovyPosixCommands.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -743,7 +743,7 @@ else if (optLong) {
743743

744744
private static void toColumn(Context context, PrintStream out, Stream<String> ansi, boolean horizontal) {
745745
Terminal terminal = context.terminal();
746-
int width = context.isTty() ? terminal.getWidth() : 80;
746+
int width = context.isTty() ? terminal.getColumns() : 80;
747747
List<AttributedString> strings = ansi.map(AttributedString::fromAnsi).collect(Collectors.toList());
748748
if (!strings.isEmpty()) {
749749
int max = strings.stream()

versions.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jansi=2.4.2
3838
jarjar=1.16.0
3939
javaParser=3.28.1
4040
jcipAnnotations=1.0
41-
jline=4.0.14
41+
jline=4.1.0
4242
jmh=1.37
4343
jna=5.18.1
4444
jqwik=1.9.3

0 commit comments

Comments
 (0)