当前位置: 首页>>代码示例>>Java>>正文


Java InputFiles类代码示例

本文整理汇总了Java中org.gradle.api.tasks.InputFiles的典型用法代码示例。如果您正苦于以下问题:Java InputFiles类的具体用法?Java InputFiles怎么用?Java InputFiles使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


InputFiles类属于org.gradle.api.tasks包,在下文中一共展示了InputFiles类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: getClasses

import org.gradle.api.tasks.InputFiles; //导入依赖的package包/类
/**
 * The classes to be analyzed.
 */
@SkipWhenEmpty
@PathSensitive(PathSensitivity.RELATIVE)
@InputFiles
public FileCollection getClasses() {
    return classes;
}
 
开发者ID:lxxlxx888,项目名称:Reer,代码行数:10,代码来源:FindBugs.java

示例2: getSource

import org.gradle.api.tasks.InputFiles; //导入依赖的package包/类
/**
 * 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();
}
 
开发者ID:lxxlxx888,项目名称:Reer,代码行数:12,代码来源:AntlrTask.java

示例3: getAdditionalClassDirs

import org.gradle.api.tasks.InputFiles; //导入依赖的package包/类
/**
 * Additional class dirs that coverage data should be reported for.
 */
@Optional
@PathSensitive(PathSensitivity.RELATIVE)
@InputFiles
public FileCollection getAdditionalClassDirs() {
    return additionalClassDirs;
}
 
开发者ID:lxxlxx888,项目名称:Reer,代码行数:10,代码来源:JacocoReport.java

示例4: getAdditionalSourceDirs

import org.gradle.api.tasks.InputFiles; //导入依赖的package包/类
/**
 * Additional source dirs for the classes coverage data is being reported for.
 */
@Optional
@PathSensitive(PathSensitivity.RELATIVE)
@InputFiles
public FileCollection getAdditionalSourceDirs() {
    return additionalSourceDirs;
}
 
开发者ID:lxxlxx888,项目名称:Reer,代码行数:10,代码来源:JacocoReport.java

示例5: getTestResultDirs

import org.gradle.api.tasks.InputFiles; //导入依赖的package包/类
/**
 * 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;
}
 
开发者ID:lxxlxx888,项目名称:Reer,代码行数:12,代码来源:TestReport.java

示例6: getInputFiles

import org.gradle.api.tasks.InputFiles; //导入依赖的package包/类
@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;
}
 
开发者ID:kravemir,项目名称:GradleSassPlugin,代码行数:11,代码来源:AbstractSassCompileTask.java

示例7: getNativeLibraries

import org.gradle.api.tasks.InputFiles; //导入依赖的package包/类
@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;
}
 
开发者ID:jskierbi,项目名称:intellij-ce-playground,代码行数:11,代码来源:PackageApplication.java

示例8: getResultInputs

import org.gradle.api.tasks.InputFiles; //导入依赖的package包/类
@InputFiles
public List<File> getResultInputs() {
    List<File> list = Lists.newArrayList();

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

    return list;
}
 
开发者ID:jskierbi,项目名称:intellij-ce-playground,代码行数:11,代码来源:AndroidReportTask.java

示例9: getClasspath

import org.gradle.api.tasks.InputFiles; //导入依赖的package包/类
@Override
@CompileClasspath // Gradle 3.4+
@Classpath // Gradle 3.2+
@InputFiles
public FileCollection getClasspath() {
    return super.getClasspath();
}
 
开发者ID:SpongePowered,项目名称:event-impl-gen,代码行数:8,代码来源:EventImplGenTask.java

示例10: getInternalTarget

import org.gradle.api.tasks.InputFiles; //导入依赖的package包/类
/** 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);
}
 
开发者ID:diffplug,项目名称:spotless,代码行数:8,代码来源:SpotlessTask.java

示例11: getIncludeFiles

import org.gradle.api.tasks.InputFiles; //导入依赖的package包/类
@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;
}
 
开发者ID:shevek,项目名称:gradle-velocity-plugin,代码行数:11,代码来源:VelocityTask.java

示例12: getRuleSetFiles

import org.gradle.api.tasks.InputFiles; //导入依赖的package包/类
/**
 * 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;
}
 
开发者ID:lxxlxx888,项目名称:Reer,代码行数:11,代码来源:Pmd.java

示例13: getJsHint

import org.gradle.api.tasks.InputFiles; //导入依赖的package包/类
@InputFiles
public FileCollection getJsHint() {
    return getProject().files(jsHint);
}
 
开发者ID:lxxlxx888,项目名称:Reer,代码行数:5,代码来源:JsHint.java

示例14: getCoffeeScriptJs

import org.gradle.api.tasks.InputFiles; //导入依赖的package包/类
@InputFiles
public FileCollection getCoffeeScriptJs() {
    return getProject().files(coffeeScriptJs);
}
 
开发者ID:lxxlxx888,项目名称:Reer,代码行数:5,代码来源:CoffeeScriptCompile.java

示例15: getExecutionData

import org.gradle.api.tasks.InputFiles; //导入依赖的package包/类
/**
 * Collection of execution data files to analyze.
 */
@PathSensitive(PathSensitivity.NONE)
@InputFiles
public FileCollection getExecutionData() {
    return executionData;
}
 
开发者ID:lxxlxx888,项目名称:Reer,代码行数:9,代码来源:JacocoReport.java


注:本文中的org.gradle.api.tasks.InputFiles类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。