I managed to do this with System.exit(1), but this also shutdowns sbt in deve mode.
I found some resources like:
But they doesn’t seem to work in Java or newer Play 2.6.x
I managed to do this with System.exit(1), but this also shutdowns sbt in deve mode.
I found some resources like:
But they doesn’t seem to work in Java or newer Play 2.6.x