Why is AbstractCompile#getClasspath()
annotated only with @Classpath
instead of with @CompileClasspath
?
JavaCompile#getClasspath()
is annotated with @CompileClasspath
, but GroovyCompile
doesn’t have an equivalent override. It does have getGroovyClasspath()
(which is annotated with @Classpath
), so I would expect any members of classpath
for Groovy to only be used for their ABI, and any members of groovyClasspath
to be actually used by the groovyc (or whatever it’s called) runtime (I’d expect that groovyClasspath
members would have their full class contents, instead of just their ABI, checked for up-to-date checks).