Gradle `runtimeOnly` dependencies cannot be resolved by the debugger. As a workaround, I was able to get the app running by adding ``` main { compileClasspath += configurations.runtimeClasspath } ``` to the `sourceSets`. However, I would expect the debugger to use the runtimeClasspath.