add dependency resolver for plugin