fun Project.getAllRequiredJosmPlugins(directlyRequiredPlugins: Collection<String>): Set<Dependency>
Resolves the JOSM plugin names given as parameter, using the available repositories for this project. Not only are the given plugin names resolved to Dependencies, but also all JOSM plugins on which these plugins depend.
The resolution is aborted, if a dependency chain exceeds 10 plugins (plugin 1 depends on plugin 2 … depends on plugin 10). This limit can be changed by JosmPluginExtension.maxPluginDependencyDepth
directlyRequiredPlugins - a Set of Strings representing the names of JOSM plugins.
These plugins (and their dependencies) will be resolved
Return
a set of Dependency objects, including the requested plugins, plus all plugins required by the requested
plugins