tkruse/gradle-groovysh-plugin

keyboard input not properly working anymore with Gradle 2.13

devisnik opened this issue · 3 comments

The plugin (version 1.0.8) works great with Gradle up to 2.12.

I experience weird input handling with Gradle 2.13 though. The cursor is not positioned properly, backspace removes full line.

I'm using iterm2 on MacOS, but the standard terminal on MacOS exhibits the same behaviour.

thanks for reporting this, I'll have to investigate. Most likely this is due to a different version of Jline being used.

Seems that Gradle uses Groovy 2.4.6 which seems to use jline 2.12

I can reproduce the behavior. Sadly however, I do not understand it. As far as I can see, gradle 2.13 does not use gradle 2.4.6 yet. In any case, merely updating jline also did not help.

Given the forthcoming problems with gradle 2.14, too (which also enables the daemon by default, I think I'll just have to discontinue this plugin.

This would mean users have to write their own Application based on Groovysh and maintain it.