Add pure java tasks support.