cosminpolifronie / gradle-plantuml-plugin

A simple Gradle plugin to render PlantUML files
MIT License
10 stars 5 forks source link

Multiple renders #6

Open alexsapran opened 3 years ago

alexsapran commented 3 years ago

Hi I am working on an existing project which currently using another way of generating plantuml diagrams (out of scope from this). I am trying to migrate this to use gradle and this plugin and wanted to ask the possibility to allow multiple renders, for example from a puml file have a png and an svg version.

arittner commented 2 years ago

Hi!

I have the same issue to generate different outputs with two renderers, but I think this is an issue in the Gradle workflow. The files from the project are marked with CHANGED, NEW or DELETED. A renderer that gets a puml file as CHANGED is not given again into another renderer. So, in my opinion this should be an implementation change. This means: Accept a list of formats and loop over the list and call the StringSourceReader several times.