Skip to content

Commit

Permalink
Synthesize an unique name for processor classpath
Browse files Browse the repository at this point in the history
  • Loading branch information
ting-yuan committed Apr 22, 2021
1 parent 7899ec2 commit 1eb9c59
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ class KspGradleSubplugin @Inject internal constructor(private val registry: Tool
kspTask.blockOtherCompilerPlugins = kspExtension.blockOtherCompilerPlugins

// depends on the processor; if the processor changes, it needs to be reprocessed.
val processorClasspath = project.configurations.maybeCreate("ProcessorClasspath")
val processorClasspath = project.configurations.maybeCreate("${kspTaskName}ProcessorClasspath")
.extendsFrom(*nonEmptyKspConfigurations.toTypedArray())
kspTask.processorClasspath.from(processorClasspath)

Expand Down

0 comments on commit 1eb9c59

Please sign in to comment.