Upgraded to Gradle tooling API 1.12 (fixes #31)