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

下面列出了怎么用org.gradle.api.tasks.InputFiles的API类实例代码及写法,或者点击链接到github查看源代码。

源代码1 项目: pushfish-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;
}
 
源代码2 项目: pushfish-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;
}
 
源代码3 项目: javafxmobile-plugin   文件: MergeResources.java
@Optional
@InputFiles
@PathSensitive(PathSensitivity.RELATIVE)
public FileCollection getLibraries() {
    if (libraries != null) {
        return libraries.getArtifactFiles();
    }

    return null;
}
 
源代码4 项目: javaide   文件: 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;
}
 
源代码5 项目: javaide   文件: PackageSplitRes.java
@InputFiles
public List<File> getInputFiles() {
    final ImmutableList.Builder<File> builder = ImmutableList.builder();
    forEachInputFile(new SplitFileHandler() {
        @Override
        public void execute(String split, File file) {
            builder.add(file);
        }
    });
    return builder.build();
}
 
源代码6 项目: curiostack   文件: ConvertConfigsToJsonTask.java
@InputFiles
public Iterable<File> getInputFiles() {
  return getProject()
      .fileTree(
          getProject().getProjectDir(),
          files ->
              files.include("*.tf").include("*.tf.yaml").include("*.tf.yml").include("*/**/*"));
}
 
源代码7 项目: app-gradle-plugin   文件: StageAppYamlExtension.java
/** This method is purely for incremental build calculations. */
@Optional
@InputFiles
public FileCollection getExtraFilesDirectoriesAsInputFiles() {
  if (extraFilesDirectories == null) {
    return null;
  }
  FileCollection files = project.files();
  for (File directory : extraFilesDirectories) {
    files = files.plus(project.fileTree(directory));
  }
  return files;
}
 
@InputFiles
FileCollection getTestFiles() {
    ConfigurableFileTree componentFiles = getProject().fileTree(getPythonExtension().testDir);
    componentFiles.exclude(standardExcludes());
    if (testSource != null) {
        return testSource.plus(componentFiles);
    }
    return componentFiles;
}
 
@InputFiles
public FileCollection getSourceFiles() {
    ConfigurableFileTree componentFiles = getProject().fileTree(getComponent().srcDir);
    componentFiles.exclude(standardExcludes());
    if (null != sources) {
        return sources.plus(componentFiles);
    }
    return componentFiles;
}
 
源代码10 项目: pushfish-android   文件: CoffeeScriptCompile.java
@InputFiles
public FileCollection getCoffeeScriptJs() {
    return getProject().files(coffeeScriptJs);
}
 
源代码11 项目: pushfish-android   文件: CoffeeScriptCompile.java
@InputFiles
public FileCollection getRhinoClasspath() {
    return getProject().files(rhinoClasspath);
}
 
源代码12 项目: pushfish-android   文件: ScalaCompile.java
/**
 * Returns the classpath to use to load the Scala compiler.
 */
@InputFiles
public FileCollection getScalaClasspath() {
    return scalaClasspath;
}
 
源代码13 项目: pushfish-android   文件: ScalaCompile.java
/**
 * Returns the classpath to use to load the Zinc incremental compiler.
 * This compiler in turn loads the Scala compiler.
 */
@InputFiles
public FileCollection getZincClasspath() {
    return zincClasspath;
}
 
源代码14 项目: pushfish-android   文件: MinimalJavadocOptions.java
@InputFiles
List<File> getDocletpath();
 
源代码15 项目: pushfish-android   文件: MinimalJavadocOptions.java
@InputFiles
List<File> getBootClasspath();
 
源代码16 项目: pushfish-android   文件: MinimalJavadocOptions.java
@InputFiles
List<File> getExtDirs();
 
源代码17 项目: pushfish-android   文件: AbstractJettyRunTask.java
/**
 * Returns the classpath to make available to the web application.
 */
@InputFiles
public Iterable<File> getAdditionalRuntimeJars() {
    return additionalRuntimeJars;
}
 
源代码18 项目: pushfish-android   文件: JettyRun.java
/**
 * Returns the classpath for the web application.
 */
@InputFiles
public FileCollection getClasspath() {
    return classpath;
}
 
public Class<? extends Annotation> getAnnotationType() {
    return InputFiles.class;
}
 
源代码20 项目: pushfish-android   文件: CoffeeScriptCompile.java
@InputFiles
public FileCollection getCoffeeScriptJs() {
    return getProject().files(coffeeScriptJs);
}
 
源代码21 项目: pushfish-android   文件: CoffeeScriptCompile.java
@InputFiles
public FileCollection getRhinoClasspath() {
    return getProject().files(rhinoClasspath);
}
 
源代码22 项目: pushfish-android   文件: ScalaCompile.java
/**
 * Returns the classpath to use to load the Scala compiler.
 */
@InputFiles
public FileCollection getScalaClasspath() {
    return scalaClasspath;
}
 
源代码23 项目: pushfish-android   文件: ScalaCompile.java
/**
 * Returns the classpath to use to load the Zinc incremental compiler.
 * This compiler in turn loads the Scala compiler.
 */
@InputFiles
public FileCollection getZincClasspath() {
    return zincClasspath;
}
 
源代码24 项目: pushfish-android   文件: AbstractJettyRunTask.java
/**
 * Returns the classpath to make available to the web application.
 */
@InputFiles
public Iterable<File> getAdditionalRuntimeJars() {
    return additionalRuntimeJars;
}
 
源代码25 项目: pushfish-android   文件: JettyRun.java
/**
 * Returns the classpath for the web application.
 */
@InputFiles
public FileCollection getClasspath() {
    return classpath;
}
 
public Class<? extends Annotation> getAnnotationType() {
    return InputFiles.class;
}
 
源代码27 项目: pushfish-android   文件: MinimalJavadocOptions.java
@InputFiles
List<File> getDocletpath();
 
源代码28 项目: pushfish-android   文件: MinimalJavadocOptions.java
@InputFiles
List<File> getBootClasspath();
 
源代码29 项目: pushfish-android   文件: MinimalJavadocOptions.java
@InputFiles
List<File> getExtDirs();
 
@InputFiles
public ConfigurableFileCollection getInputFiles() {
    return inputFiles;
}
 
 类所在包
 类方法
 同包方法