Tweaks error reporting in the gradle config