gradle template: also trim an unprocessed property

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