Package org.gradle.api.internal.file.collections

Examples of org.gradle.api.internal.file.collections.SimpleFileCollection


        {
            if (obf != null && obf.getToObf() != null)
                collect.add(obf.getToObf());
        }

        return new SimpleFileCollection(collect.toArray(new File[collect.size()]));
    }
View Full Code Here


        {
            if (obf != null && obf.getFile() != null)
                collect.add(obf.getFile());
        }

        return new SimpleFileCollection(collect.toArray(new File[collect.size()]));
    }
View Full Code Here

      resources.addAll(mainSourceSet.getResources().getSrcDirs());
    }
    List<File> classPath = new ArrayList<File>(getClasspath().getFiles());
    classPath.addAll(0, resources);
    getLogger().info("Adding classpath: " + resources);
    setClasspath(new SimpleFileCollection(classPath));
    if (outputDir != null) {
      for (File directory : resources) {
        FileUtils.removeDuplicatesFromOutputDirectory(outputDir, directory);
      }
    }
View Full Code Here

        compile.setExcludes(TEST_EXCLUDES);
        compile.setSourceCompatibility("1.5");
        compile.setTargetCompatibility("1.5");
        compile.setDestinationDir(destDir);

        compile.setClasspath(new SimpleFileCollection(TEST_DEPENDENCY_MANAGER_CLASSPATH));
    }
View Full Code Here

    public FileCollection getLinkFiles() {
        return createFileCollection(getStaticLibraryFile(), "Static library file");
    }

    public FileCollection getRuntimeFiles() {
        return new SimpleFileCollection();
    }
View Full Code Here

    public FileCollection getLinkFiles() {
        return new StaticLibraryLinkOutputs();
    }

    public FileCollection getRuntimeFiles() {
        return new SimpleFileCollection();
    }
View Full Code Here

    public NativePlatform getTargetPlatform() {
        return targetPlatform;
    }

    public FileCollection getHeaderDirs() {
        return new SimpleFileCollection(library.getHeaders().getSrcDirs());
    }
View Full Code Here

        logCompilerArguments(spec);
        return delegateAndHandleErrors(spec);
    }

    private void resolveAndFilterSourceFiles(final ScalaJavaJointCompileSpec spec) {
        spec.setSource(new SimpleFileCollection(spec.getSource().getFiles()));
    }
View Full Code Here

        public FileCollection getIncludeRoots() {
            return delegate.getIncludeRoots();
        }

        public FileCollection getLinkFiles() {
            return new SimpleFileCollection();
        }
View Full Code Here

        public FileCollection getLinkFiles() {
            return new SimpleFileCollection();
        }

        public FileCollection getRuntimeFiles() {
            return new SimpleFileCollection();
        }
View Full Code Here

TOP

Related Classes of org.gradle.api.internal.file.collections.SimpleFileCollection

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.