use of org.gradle.plugins.ide.internal.resolver.IdeDependencySet in project gradle by gradle.
the class EclipseDependenciesCreator method createDependencyEntries.
public List<AbstractClasspathEntry> createDependencyEntries() {
EclipseDependenciesVisitor visitor = new EclipseDependenciesVisitor();
new IdeDependencySet(classpath.getProject().getDependencies(), classpath.getPlusConfigurations(), classpath.getMinusConfigurations()).visit(visitor);
return visitor.getDependencies();
}
use of org.gradle.plugins.ide.internal.resolver.IdeDependencySet in project gradle by gradle.
the class WtpClasspathAttributeSupport method collectFilesFromConfigs.
private static Set<File> collectFilesFromConfigs(EclipseClasspath classpath, Set<Configuration> configs, Set<Configuration> minusConfigs) {
WtpClasspathAttributeDependencyVisitor visitor = new WtpClasspathAttributeDependencyVisitor(classpath);
new IdeDependencySet(classpath.getProject().getDependencies(), configs, minusConfigs).visit(visitor);
return visitor.getFiles();
}
use of org.gradle.plugins.ide.internal.resolver.IdeDependencySet in project gradle by gradle.
the class IdeaDependenciesProvider method visitDependencies.
private IdeaDependenciesVisitor visitDependencies(IdeaModule ideaModule, GeneratedIdeaScope scope) {
DependencyHandler handler = ideaModule.getProject().getDependencies();
Collection<Configuration> plusConfigurations = getPlusConfigurations(ideaModule, scope);
Collection<Configuration> minusConfigurations = getMinusConfigurations(ideaModule, scope);
IdeaDependenciesVisitor visitor = new IdeaDependenciesVisitor(ideaModule, scope.name());
new IdeDependencySet(handler, plusConfigurations, minusConfigurations).visit(visitor);
return visitor;
}
use of org.gradle.plugins.ide.internal.resolver.IdeDependencySet in project gradle by gradle.
the class WtpComponentFactory method getEntriesFromConfigurations.
private List<WbDependentModule> getEntriesFromConfigurations(Project project, Set<Configuration> plusConfigurations, Set<Configuration> minusConfigurations, EclipseWtpComponent wtp, String deployPath) {
WtpDependenciesVisitor visitor = new WtpDependenciesVisitor(project, wtp, deployPath);
new IdeDependencySet(project.getDependencies(), plusConfigurations, minusConfigurations).visit(visitor);
return visitor.getEntries();
}
Aggregations