Package org.gradle.api.artifacts

Examples of org.gradle.api.artifacts.FileCollectionDependency.resolve()


      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) {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.