Gradle: Updated build scripts to work with `gradle-props-util` plugin v0.4.
Chef: realpath instead of readlink.