api / org.gradle.jvm / Classpath

Classpath

@Incubating interface Classpath : Buildable

A collection of files to be used as a class path.

Functions

getFiles

abstract fun getFiles(): FileCollection

Inherited Functions

getBuildDependencies

abstract fun getBuildDependencies(): TaskDependency

Returns a dependency which contains the tasks which build this artifact. All Buildable implementations must ensure that the returned dependency object is live, so that it tracks changes to the dependencies of this buildable.