Updated gradle build files for gradle 1.6; cleaned up warning to only show if version is not 1.6