I\'m trying to run a very simple project using Gradle and running into the following error when using the gradlew run command:
could not find or l
I see two problems here, one with sourceSet another with mainClassName.
Either move java source files to src/main/java instead of just src. Or set sourceSet properly by adding the following to build.gradle.
sourceSets.main.java.srcDirs = ['src']
mainClassName should be fully qualified class name, not path.
mainClassName = "hello.HelloWorld"