// tag::using-root-dir-property[]
File configFile = file("${rootDir}/shared/config.xml")
// end::using-root-dir-property[]

task checkConfigFile {
    doLast {
        assert configFile.exists()
    }
}
