Minimum supported Gradle version is 2.14.1. Current version is 2.8. If using the gradle wrapper, try

NoSuchKey