use of org.gradle.plugin.use.resolve.internal.PluginResolution in project gradle by gradle.
the class PluginResolutionServiceResolver method handleLegacy.
private void handleLegacy(final PluginUseMetaData metadata, PluginResolutionResult result) {
final PluginId pluginId = DefaultPluginId.of(metadata.id);
result.found(getDescription(), new PluginResolution() {
@Override
public PluginId getPluginId() {
return pluginId;
}
public void execute(PluginResolveContext context) {
context.addLegacy(pluginId, metadata.implementation.get("repo"), metadata.implementation.get("gav"));
}
});
}
Aggregations