On 1 August 2014 at 7:41:11 pm, Szczepan Faber (szcze...@gmail.com) wrote:

Hey, 

Checkstyle task is not thread safe and unhappy in --parallel build 
(I've raised a ticket for it here: 
http://issues.gradle.org/browse/GRADLE-3146). 

Currently, checkstyle task uses antbuilder. I'd say that we should use 
checkstyle commandline api instead. This way, we could fork off the 
operation, just like we do for FindBugs. 

Thoughts? 
Other solution would be to give each instance its own copy of the check style 
classes. I’m surprised we don’t do this already.

That said, the other benefits of forking (e.g. memory control) make forking 
worth doing.



Reply via email to