gradle template: checkErrors: do not duplicate what bnd already does

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>