Fixes #20. Upgrade to Gradle 2.0.