Switch to gradle version 0.12.+
Add lintOptions section to stop aborting the build on link errors