Any support for loading rake tasks defined in plugins?

AFAIK there isn’t any discourse-specific logic here. My guess would be that the task files are autoloaded if you defined a ::Rails::Engine for your plugin?