Gradle version check now supports major version changes.

#368