support Gradle version 1.6 to 1.8