use of org.gradle.initialization.definition.SelfResolvingPluginRequest in project gradle by gradle.
the class SelfResolvingRequestPluginResolver method resolve.
@Override
public void resolve(PluginRequestInternal pluginRequest, PluginResolutionResult result) throws InvalidPluginRequestException {
if (pluginRequest instanceof SelfResolvingPluginRequest) {
ClassLoaderScope classLoaderScope = ((SelfResolvingPluginRequest) pluginRequest).getClassLoaderScope();
PluginResolution pluginResolution = new ClassPathPluginResolution(pluginRequest.getId(), classLoaderScope, EMPTY_CLASSPATH_FACTORY, pluginInspector);
result.found("injected from outer build", pluginResolution);
}
}
Aggregations