Added fix for checking version against gradleApi()