Update to gradle version 0.12.+
Merge pull request #4031 from schwabe/upgrade_gradle012

Update to gradle version 0.12.+