compiler-plugin / arrow.meta.dsl.analysis / AnalysisSyntax / additionalSources

additionalSources

open fun additionalSources(collectAdditionalSourcesAndUpdateConfiguration: CompilerContext.(knownSources: Collection<KtFile>, configuration: CompilerConfiguration, project: Project) -> Collection<KtFile>): CollectAdditionalSources

additionalSources is a function that is invoked before resolution and allows us to provide an additional set of KtFile files. These files will be considered part of the compilation unit alongside the user sources.

Do you like Arrow?

Arrow Org
<