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 Sep 18, 2022
1 parent 7849314 commit 77fcb55
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,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 77fcb55

Please sign in to comment.