Any reason why `classpath` is not an `Iterable<...
# dokka
s
Any reason why
classpath
is not an
Iterable<File>
like
sourceDirs
? It seems to prevent using easily
FileCollection
...
t
It's a
List
and that's an
Iterable
. In what way is it making things difficult?
s
FileCollection
is an
Iterable
but not a
List
, so you can't do directly
classpath = files(...)
unless I missed something obvious
t
I've assumed that classpath was read-only. When I'm updating a gradle classpath, it's always either runtimeClasspath or compileClasspath.