Updated Gradle Plugin dependency from 0.12.2 to 0.14.1.

This change is required because Gradle 2.x wraps the actual `IllegalStateException` in a `PluginApplicationException`.