Added support for Gradle and removed duplicated string