task checksum << {
    fileList('../antChecksumFiles').each { File file ->
        ant.checksum(file: file, property: file.name)
        println "$file.name Checksum: ${ant.properties[file.name]}"
    }
}

task length << {
    fileList('../antChecksumFiles').each { File file ->
        ant.length(file: file, property: file.name)
        println "$file.name Length: ${ant.properties[file.name]}"
    }
}

File[] fileList(String dir) {
    file(dir).listFiles().sort()
}
