Update version check to allow for gradle 2.0 support

Seems to work fine in gradle 2.0, was just blocked by the version check asserting that 0 < 12.