gradle template: also trim an unprocessed property

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Merge pull request #554 from fhuberts/fix-unprocessed

gradle template: also trim an unprocessed property