plantuml-gradle-plugin
                                
                                
                                
                                    plantuml-gradle-plugin copied to clipboard
                            
                            
                            
                        Deal with multiple packages. It should be highly configurable: 1. grouped in one file (simple case) or 2. paired with output file (one output per package).
Don't know if you saw it, but I pushed a MR implementing this. I hope it saves you some time :)
For anyone reading this in 2023: I forked the plugin (and essentially rewrote it): https://plugins.gradle.org/plugin/io.gitlab.plunts.plantuml