I'm going to create a custom plugin type, so I need to create a plugin manager, plugin base, plugin Interface and a plugin annotation, the annotations goes to ModuleRoot/src/Annotation
but for the rest I saw 2 approaches
- Place PluginManager, PluginBase and PluginInterface in
moduleRoot/src
- Place PluginManager, PluginBase and PluginInterface in
moduleRoot/src/Plugin
but I couldn't resolve which one is the best practice?
PluginManager
not to be in thePlugin
subfolder, because it's not a Plugin. Person B will tell you what @Kevin mentioned above. They're both fine