update plugin build to use modern annotation-based configuration