Search in sources :

Example 1 with AbstractModuleDependency

use of org.gradle.api.internal.artifacts.dependencies.AbstractModuleDependency in project gradle by gradle.

the class DefaultDependencyFactory method injectServices.

private void injectServices(Dependency dependency) {
    if (dependency instanceof AbstractModuleDependency) {
        AbstractModuleDependency moduleDependency = (AbstractModuleDependency) dependency;
        moduleDependency.setAttributesFactory(attributesFactory);
        moduleDependency.setCapabilityNotationParser(capabilityNotationParser);
    }
}
Also used : AbstractModuleDependency(org.gradle.api.internal.artifacts.dependencies.AbstractModuleDependency)

Aggregations

AbstractModuleDependency (org.gradle.api.internal.artifacts.dependencies.AbstractModuleDependency)1