DOL-126 : gradlew install throws org.codehaus.groovy.runtime.GStringImpl cannot be cast to java.io.File. Wrap GString to file.