https://kotlinlang.org logo
#dokka
Title
# dokka
s

sdeleuze

08/28/2017, 10:37 AM
Any reason why
classpath
is not an
Iterable<File>
like
sourceDirs
? It seems to prevent using easily
FileCollection
...
t

tenwit

08/29/2017, 1:29 AM
It's a
List
and that's an
Iterable
. In what way is it making things difficult?
s

sdeleuze

09/03/2017, 12:35 PM
FileCollection
is an
Iterable
but not a
List
, so you can't do directly
classpath = files(...)
unless I missed something obvious
t

tenwit

09/04/2017, 1:10 AM
I've assumed that classpath was read-only. When I'm updating a gradle classpath, it's always either runtimeClasspath or compileClasspath.
3 Views