Java 类org.gradle.api.tasks.InputFiles 实例源码

项目:Reer    文件:FindBugs.java   
/**
 * The classes to be analyzed.
 */
@SkipWhenEmpty
@PathSensitive(PathSensitivity.RELATIVE)
@InputFiles
public FileCollection getClasses() {
    return classes;
}
项目:Reer    文件:AntlrTask.java   
/**
 * Returns the source for this task, after the include and exclude patterns have been applied. Ignores source files which do not exist.
 *
 * @return The source.
 */
// This method is here as the Gradle DSL generation can't handle properties with setters and getters in different classes.
@InputFiles
@SkipWhenEmpty
public FileTree getSource() {
    return super.getSource();
}
项目:Reer    文件:JacocoReport.java   
/**
 * Additional class dirs that coverage data should be reported for.
 */
@Optional
@PathSensitive(PathSensitivity.RELATIVE)
@InputFiles
public FileCollection getAdditionalClassDirs() {
    return additionalClassDirs;
}
项目:Reer    文件:JacocoReport.java   
/**
 * Additional source dirs for the classes coverage data is being reported for.
 */
@Optional
@PathSensitive(PathSensitivity.RELATIVE)
@InputFiles
public FileCollection getAdditionalSourceDirs() {
    return additionalSourceDirs;
}
项目:Reer    文件:TestReport.java   
/**
 * Returns the set of binary test results to include in the report.
 */
@InputFiles @SkipWhenEmpty
public FileCollection getTestResultDirs() {
    UnionFileCollection dirs = new UnionFileCollection();
    for (Object result : results) {
        addTo(result, dirs);
    }
    return dirs;
}
项目:GradleSassPlugin    文件:AbstractSassCompileTask.java   
@InputFiles
FileCollection getInputFiles() {
    if(getSrcDir().exists() == false)
        throw new RuntimeException("srcDir doesn't exists");
    if(getSrcDir().isDirectory() == false)
        throw new RuntimeException("srcDir isn't directory");

    ConfigurableFileTree fileTree = getProject().fileTree(getSrcDir());
    return fileTree;
}
项目:intellij-ce-playground    文件:PackageApplication.java   
@InputFiles
public FileTree getNativeLibraries() {
    FileTree src = null;
    Set<File> folders = getJniFolders();
    if (!folders.isEmpty()) {
        src = getProject().files(new ArrayList<Object>(folders)).getAsFileTree();
    }

    return src == null ? getProject().files().getAsFileTree() : src;
}
项目:intellij-ce-playground    文件:AndroidReportTask.java   
@InputFiles
public List<File> getResultInputs() {
    List<File> list = Lists.newArrayList();

    for (AndroidTestTask task : subTasks) {
        list.add(task.getResultsDir());
    }

    return list;
}
项目:event-impl-gen    文件:EventImplGenTask.java   
@Override
@CompileClasspath // Gradle 3.4+
@Classpath // Gradle 3.2+
@InputFiles
public FileCollection getClasspath() {
    return super.getClasspath();
}
项目:Pushjet-Android    文件:TestReport.java   
/**
 * Returns the set of binary test results to include in the report.
 */
@InputFiles @SkipWhenEmpty
public FileCollection getTestResultDirs() {
    UnionFileCollection dirs = new UnionFileCollection();
    for (Object result : results) {
        addTo(result, dirs);
    }
    return dirs;
}
项目:Pushjet-Android    文件:TestReport.java   
/**
 * Returns the set of binary test results to include in the report.
 */
@InputFiles @SkipWhenEmpty
public FileCollection getTestResultDirs() {
    UnionFileCollection dirs = new UnionFileCollection();
    for (Object result : results) {
        addTo(result, dirs);
    }
    return dirs;
}
项目:spotless    文件:SpotlessTask.java   
/** Internal use only. */
@InputFiles
@Deprecated
public Iterable<File> getInternalTarget() {
    // used to combine the special cache file and the real target
    return Iterables.concat(ImmutableList.of(getCacheFile()), target);
}
项目:gradle-velocity-plugin    文件:VelocityTask.java   
@InputFiles
@Nonnull    // Not @Optional
private FileCollection getIncludeFiles() {
    IncludeFileCollector collector = new IncludeFileCollector();
    collectUnknown(collector, source);
    collectDirs(collector, getIncludeDirs());
    for (File file : collector.out)
        getLogger().info("Including " + file);
    return collector.out;
}
项目:Reer    文件:Pmd.java   
/**
 * The custom rule set files to be used. See the <a href="http://pmd.sourceforge.net/howtomakearuleset.html">official documentation</a> for how to author a rule set file.
 *
 * Example: ruleSetFiles = files("config/pmd/myRuleSets.xml")
 */
@InputFiles
@PathSensitive(PathSensitivity.NONE)
public FileCollection getRuleSetFiles() {
    return ruleSetFiles;
}
项目:Reer    文件:JsHint.java   
@InputFiles
public FileCollection getJsHint() {
    return getProject().files(jsHint);
}
项目:Reer    文件:CoffeeScriptCompile.java   
@InputFiles
public FileCollection getCoffeeScriptJs() {
    return getProject().files(coffeeScriptJs);
}
项目:Reer    文件:JacocoReport.java   
/**
 * Collection of execution data files to analyze.
 */
@PathSensitive(PathSensitivity.NONE)
@InputFiles
public FileCollection getExecutionData() {
    return executionData;
}
项目:Reer    文件:JacocoReport.java   
/**
 * Source sets that coverage should be reported for.
 */
@PathSensitive(PathSensitivity.RELATIVE)
@InputFiles
public FileCollection getSourceDirectories() {
    return sourceDirectories;
}
项目:Reer    文件:JacocoReport.java   
/**
 * Source sets that coverage should be reported for.
 */
@PathSensitive(PathSensitivity.RELATIVE)
@InputFiles
public FileCollection getClassDirectories() {
    return classDirectories;
}
项目:Reer    文件:JacocoMerge.java   
/**
 * Collection of execution data files to merge.
 */
@PathSensitive(PathSensitivity.RELATIVE)
@InputFiles
public FileCollection getExecutionData() {
    return executionData;
}
项目:Reer    文件:AbstractLinkTask.java   
/**
 * The source object files to be passed to the linker.
 */
@InputFiles
public FileCollection getSource() {
    return source;
}
项目:Reer    文件:AbstractLinkTask.java   
/**
 * The library files to be passed to the linker.
 */
@InputFiles
public FileCollection getLibs() {
    return libs;
}
项目:Reer    文件:CreateStaticLibrary.java   
/**
 * The source object files to be passed to the archiver.
 */
@InputFiles
@SkipWhenEmpty
public FileCollection getSource() {
    return source;
}
项目:Reer    文件:InstallExecutable.java   
/**
 * The library files that should be installed.
 */
@InputFiles
public FileCollection getLibs() {
    return libs;
}
项目:Reer    文件:PreCompiledHeader.java   
@InputFiles
public FileCollection getPchObjects() {
    return pchObjects;
}
项目:Reer    文件:MinimalJavadocOptions.java   
@Optional @InputFiles
List<File> getExtDirs();
项目:Reer    文件:MinimalJavadocOptions.java   
@Optional @InputFiles
List<File> getOptionFiles();
项目:Reer    文件:Test.java   
/**
 * Returns the classes files to scan for test classes.
 *
 * @return The candidate class files.
 */
@PathSensitive(PathSensitivity.RELATIVE)
@InputFiles
public FileTree getCandidateClassFiles() {
    return getProject().fileTree(getTestClassesDir()).matching(patternSet);
}
项目:Reer    文件:AbstractNativeCompileTask.java   
/**
 * Returns the source files to be compiled.
 */
@InputFiles
public FileCollection getSource() {
    return source;
}
项目:Reer    文件:WindowsResourceCompile.java   
/**
 * Returns the header directories to be used for compilation.
 */
@InputFiles
public FileCollection getIncludes() {
    return includes;
}
项目:Reer    文件:WindowsResourceCompile.java   
/**
 * Returns the source files to be compiled.
 */
@InputFiles
public FileCollection getSource() {
    return source;
}
项目:Reer    文件:Assemble.java   
@InputFiles
@SkipWhenEmpty
public FileCollection getSource() {
    return source;
}
项目:Reer    文件:InputFilesPropertyAnnotationHandler.java   
public Class<? extends Annotation> getAnnotationType() {
    return InputFiles.class;
}
项目:Reer    文件:ClasspathPropertyAnnotationHandler.java   
@Override
public Class<? extends Annotation> getOverriddenAnnotationType() {
    return InputFiles.class;
}
项目:Reer    文件:Sign.java   
@InputFiles
public Iterable<File> getInputFiles() {
    return Iterables.transform(signatures, SIGNATURE_TO_SIGN_FILE_FUNCTION);
}
项目:atlas    文件:AwbDexTask.java   
@InputFiles
@Optional
public Collection<File> getInputFiles() {
    return inputFiles;
}
项目:atlas    文件:AwoInstallTask.java   
@InputFiles
@Optional
public Collection<File> getAwbApkFiles() {
    return awbApkFiles;
}
项目:gradle-checksum    文件:Checksum.java   
@InputFiles
public FileCollection getFiles() {
    return files;
}
项目:endpoints-framework-gradle-plugin    文件:GenerateClientLibrariesTask.java   
@InputFiles
public List<File> getDiscoveryDocs() {
  return discoveryDocs;
}
项目:endpoints-framework-gradle-plugin    文件:ExtractDiscoveryDocZipsTask.java   
@InputFiles
public Collection<File> getDiscoveryDocZips() {
  return discoveryDocZips;
}