[Solved] Sim-eth-es debugging / gradle debugging

Hi,
just curious as I am new to Gradle: How do I make a debug task to be able to debug sim-eth-es. When I try, it says:

Executing: gradle debug
Arguments: [-c, E:\Development\GitHub\AssoFohdz\Examples\sim-eth-es\settings.gradle]

:debug
Cannot execute debug because the property "mainClass" is not defined or empty.
:assets:debug
Cannot execute debug because the property "mainClass" is not defined or empty.

BUILD SUCCESSFUL

Total time: 0.1 secs

I was able to work it out as such: