Generate class-diagram from java each build
<p>For several reasons I need to generate the UML-class diagram from a specific java package. I know there are several tools available to do the job once, but I want to have included in my gradle build. After running the thing there should be something like an image. </p>

<p>How would you do it?</p>