use of org.eclipse.dash.licenses.http.HttpClientService in project dash-licenses by eclipse.
the class LicenseToolModule method configure.
@Override
protected void configure() {
bind(ISettings.class).toInstance(settings);
bind(LicenseChecker.class).toInstance(new LicenseChecker());
bind(EclipseFoundationSupport.class).toInstance(new EclipseFoundationSupport());
bind(ClearlyDefinedSupport.class).toInstance(new ClearlyDefinedSupport());
bind(LicenseSupport.class).toInstance(new LicenseSupport());
bind(GitLabSupport.class).toInstance(new GitLabSupport());
bind(IHttpClientService.class).toInstance(new HttpClientService());
bind(ExtendedContentDataService.class).toInstance(new ExtendedContentDataService());
bind(IProxySettings.class).toProvider(Providers.of(proxySettings));
Multibinder<IExtendedContentDataProvider> extendedContentDataProviders = Multibinder.newSetBinder(binder(), IExtendedContentDataProvider.class);
extendedContentDataProviders.addBinding().to(NpmjsExtendedContentDataProvider.class);
extendedContentDataProviders.addBinding().to(MavenCentralExtendedContentDataProvider.class);
extendedContentDataProviders.addBinding().to(PypiExtendedContentDataProvider.class);
extendedContentDataProviders.addBinding().to(GitHubExtendedContentDataProvider.class);
// classifierBinder.addBinding().to(GithubDataProvider.class);
}
Aggregations