Now is it successful or not?
As you show a failing task, obviously it is not.
Because "running your application" is usually not involved with Gradle.
But from the naming of the Task I guess you try to run from IDE.
This is not a Gradle topic then though. You use Gradle to run your code, and your code does not exit cleanly, which makes the task fail. You need to check where your code does not behave as you intend, for example by using a debugger.