Use the new API to register a build plugin