a291c8690a
GitOrigin-RevId: e6e19f3d81a982a62e1bba08f0b4f7fdc21b4ea0
14 lines
454 B
Java
14 lines
454 B
Java
package su.tvl.gerrit;
|
|
|
|
import com.google.gerrit.extensions.registration.DynamicSet;
|
|
import com.google.gerrit.extensions.webui.JavaScriptPlugin;
|
|
import com.google.gerrit.extensions.webui.WebUiPlugin;
|
|
import com.google.inject.servlet.ServletModule;
|
|
|
|
public final class HttpModule extends ServletModule {
|
|
|
|
@Override
|
|
protected void configureServlets() {
|
|
DynamicSet.bind(binder(), WebUiPlugin.class).toInstance(new JavaScriptPlugin("tvl.js"));
|
|
}
|
|
}
|