dl

fun OutputPath.dl(url: URL, destination: String? = null, useCache: Boolean = true): <Error class: unknown class>
fun OutputPath.dl(url: String, destination: String? = null, useCache: Boolean = true): <Error class: unknown class>

Download a file from the given url to destination. If destination is null, the last section of the URL will be used. By default, files are cached to the temporary directory so later runs won't download anything, but it can be disabled with useCache.