Another fixes for Gradle/Hudson versioning & automation script. Pain in the rear!