use of org.gradle.plugin.use.resolve.internal.AlreadyOnClasspathPluginResolver in project gradle by gradle.
the class DefaultPluginRequestApplicator method wrapInAlreadyInClasspathResolver.
private PluginResolver wrapInAlreadyInClasspathResolver(ClassLoaderScope classLoaderScope) {
ClassLoaderScope parentLoaderScope = classLoaderScope.getParent();
PluginDescriptorLocator scriptClasspathPluginDescriptorLocator = new ClassloaderBackedPluginDescriptorLocator(parentLoaderScope.getExportClassLoader());
PluginResolver pluginResolver = pluginResolverFactory.create();
return new AlreadyOnClasspathPluginResolver(pluginResolver, pluginRegistry, parentLoaderScope, scriptClasspathPluginDescriptorLocator, pluginInspector);
}
Aggregations