Manually inject JavaToolChain into JavaCompile and Javadoc.
Getter injection cannot be used because we also need a setter for toolChain property on these classes.

+review REVIEW-5158