
task wrapper(type: Wrapper) {
    if (project.hasProperty('distVersion')) {
        gradleVersion = distVersion
        urlRoot = new File(project.distZip).parentFile.toURI().toString()
    }
}

task hello {
    doLast { println "hello from $gradle.gradleVersion" }
}
