Search in sources :

Example 6 with ConfigurationBoundExternalDependencyMetadata

use of org.gradle.internal.component.external.model.ConfigurationBoundExternalDependencyMetadata in project gradle by gradle.

the class DefaultMavenModuleResolveMetadata method contextualize.

private ModuleDependencyMetadata contextualize(ConfigurationMetadata config, ModuleComponentIdentifier componentId, MavenDependencyDescriptor incoming) {
    ConfigurationBoundExternalDependencyMetadata dependency = new ConfigurationBoundExternalDependencyMetadata(config, componentId, incoming);
    dependency.alwaysUseAttributeMatching();
    return dependency;
}
Also used : ConfigurationBoundExternalDependencyMetadata(org.gradle.internal.component.external.model.ConfigurationBoundExternalDependencyMetadata)

Aggregations

ConfigurationBoundExternalDependencyMetadata (org.gradle.internal.component.external.model.ConfigurationBoundExternalDependencyMetadata)6 ModuleDependencyMetadata (org.gradle.internal.component.external.model.ModuleDependencyMetadata)4 ExternalDependencyDescriptor (org.gradle.internal.component.external.model.ExternalDependencyDescriptor)3 GradleDependencyMetadata (org.gradle.internal.component.external.model.GradleDependencyMetadata)3 DependencyMetadata (org.gradle.internal.component.model.DependencyMetadata)3 RealisedConfigurationMetadata (org.gradle.internal.component.external.model.RealisedConfigurationMetadata)2 ImmutableList (com.google.common.collect.ImmutableList)1 ForcedDependencyMetadataWrapper (org.gradle.internal.component.external.model.ForcedDependencyMetadataWrapper)1 IvyDependencyDescriptor (org.gradle.internal.component.external.model.ivy.IvyDependencyDescriptor)1 MavenDependencyDescriptor (org.gradle.internal.component.external.model.maven.MavenDependencyDescriptor)1 ConfigurationMetadata (org.gradle.internal.component.model.ConfigurationMetadata)1 ModuleConfigurationMetadata (org.gradle.internal.component.model.ModuleConfigurationMetadata)1