Package org.gradle.api.artifacts

Examples of org.gradle.api.artifacts.FileCollectionDependency


  private Set<GradleLibrary> getLibrariesForFileDependencies(
      Configuration configuration, LibraryScope scope) {
    Set<GradleLibrary> libraries = new LinkedHashSet<GradleLibrary>();
    for (Dependency dependency : configuration.getIncoming().getDependencies()) {
      if (dependency instanceof FileCollectionDependency) {
        FileCollectionDependency fileDependency = (FileCollectionDependency) dependency;
        for (File file : fileDependency.resolve()) {
          libraries.add(new GradleLibrary(fileDependency.getGroup(), file,
              scope));
        }
      }
      else if (dependency instanceof ProjectDependency) {
        ProjectDependency projectDependency = (ProjectDependency) dependency;
View Full Code Here

TOP

Related Classes of org.gradle.api.artifacts.FileCollectionDependency

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.