public void removeAllPlugins(PluginPackage pluginPackage) {
		List<PluginDescription> pluginDescriptions = getPluginDescriptions(pluginPackage);
		List<Plugin> loadedPlugins = new ArrayList<>();
		for (PluginDescription pluginDescription : pluginDescriptions) {
			if (isLoaded(pluginDescription)) {
				loadedPlugins.add(loadedPluginMap.get(pluginDescription));
			}
		}
		pluginInstaller.removePlugins(loadedPlugins);
		initLoadedPlugins();
		listener.call();
	}
Find out all plugins that depend on a plugin and add them to the dependency set
@param plugin the plugin to check if other plugins depend on it.
@param plugins the list of all loaded plugins.
Ghidra/Framework/Project/src/main/java/ghidra/framework/plugintool/PluginConfigurationModel.java