blob: c06abd1412d4fced3cb1733c60dc730320d17910 [file] [log] [blame]
package com.googlesource.gerrit.plugins.chatgpt;
import com.google.gerrit.server.events.EventListener;
import com.google.inject.AbstractModule;
import com.google.inject.multibindings.Multibinder;
import com.googlesource.gerrit.plugins.chatgpt.listener.GerritListener;
public class Module extends AbstractModule {
@Override
protected void configure() {
Multibinder<EventListener> eventListenerBinder = Multibinder.newSetBinder(binder(), EventListener.class);
eventListenerBinder.addBinding().to(GerritListener.class);
}
}