How to convert from `Provider<java.io.File>` to `Provider<RegularFile>`?
d
How to convert from
Provider<java.io.File>
to
Provider<RegularFile>
?
At the moment I'm using
map { RegularFile { it } }
but something tells me I shouldn't be doing that.