api / org.gradle.api.tasks.compile / AbstractCompile / getClasspath

getClasspath

@Classpath open fun getClasspath(): FileCollection

Returns the classpath to use to compile the source files.

Return
The classpath.