Calling ./gradlew tasks to list available tasks fails due to errors in the build script, relating to the nonFatalCheckstyle task.