kspDependencies

fun FileSpec.kspDependencies(aggregating: Boolean, originatingKSFiles: Iterable<KSFile> = originatingKSFiles()): Dependencies

Returns a KSP Dependencies component of this FileSpec with the given originatingKSFiles, intended to be used in tandem with writeTo.

Note that if no originatingKSFiles are specified, the originatingKSFiles argument defaults to using FileSpec.originatingKSFiles, which will automatically resolve any files added to the contained declarations.

See the docs for more information.

Parameters

aggregating

flag indicating if this is an aggregating symbol processor.

See also

FileSpec.writeTo