WorkerExecutor java examaple

Could someone point me to a example of using the WorkerExecutor in a java custom task. I am only finding examples with groovy

Here’s an example in the Gradle codebase:

1 Like

Thank You. Just converted my groovy custom tasks to java. So much easier in Java

1 Like

I’m interested, what do you find is easier?

I really like how my IDE allows me explore the gradle api.