Issue with a Java Gradle project in the CLI