Thank you. While looking into this I noticed that the gradle JUnit integration can be improved by applying the lessons from the maven junit integration also to gradle, that is a different task though.