getFailOnError

Sets whether to fail the build when compilation fails. Defaults to true.