Mainly, the `Configuration` class does not have an...
# dsl
m
Mainly, the
Configuration
class does not have an
isDirectory
property - but how could the Groovy code then work in the first place?
d
You might need to do some casting.
m
how should I cast
Configuration
to a
File
?
d
I'm not sure what type it really is. You could print it out with
println()
to check and then cast to the expected type with
as
.