Skip to content

Commit

Permalink
Add plugin classpath to generate task's worker classpath
Browse files Browse the repository at this point in the history
  • Loading branch information
3flex committed Jan 6, 2023
1 parent 03226cd commit c5baf27
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ abstract class DetektGenerateConfigTask @Inject constructor(
logger.info("Executing $name using Worker API")
val workQueue = workerExecutor.processIsolation { workerSpec ->
workerSpec.classpath.from(detektClasspath)
workerSpec.classpath.from(pluginClasspath)
}
workQueue.submit(DetektWorkAction::class.java) { workParameters ->
Expand Down

0 comments on commit c5baf27

Please sign in to comment.