Spring Shell via Gradle Run using Gradle Daemon


I have created a simple Spring Shell app (modified the default somewhat to use Spring Boot instead but this doesn’t seem to be causing my problem).

If I use:

gradle -q run

with org.gradle.daemon=false

then I get a spring-shell prompt which I can type into

If I change to use the daemon then I cannot type into the shell.

Is there any config I need to do to allow terminal input to the running app if I am using the gradle daemon?


I don’t think there’s any way to get an interactive terminal for your build when using the daemon.