PublicDependencyModuleNames in Plugins

Hi,

I have a question to PublicDependencyModuleNames in plugins.

I have a code plugin and I want to use code from that plugin in my project. The plugin has additional module dependencies, which my project doesn’t have. Now I have to add the additional dependencies to the Build.cs of my plugin and my project.and also I have to add the name of my plugin to the module list of my project.

That seems like a lot of redundancy and also it’s a bit annoying for everyone else who might want to use that plugin. Am I doing something wrong or is that wanted behaviour?