Java Code Examples for org.gradle.api.tasks.PathSensitivity#RELATIVE

The following examples show how to use org.gradle.api.tasks.PathSensitivity#RELATIVE . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: MergeResources.java    From javafxmobile-plugin with BSD 3-Clause "New" or "Revised" License 5 votes vote down vote up
@Optional
@InputFiles
@PathSensitive(PathSensitivity.RELATIVE)
public FileCollection getLibraries() {
    if (libraries != null) {
        return libraries.getArtifactFiles();
    }

    return null;
}
 
Example 2
Source File: Cpd.java    From gradle-cpd-plugin with Apache License 2.0 5 votes vote down vote up
@Override
@InputFiles
@SkipWhenEmpty
@PathSensitive(PathSensitivity.RELATIVE)
public FileTree getSource() {
    return super.getSource();
}
 
Example 3
Source File: MergeResources.java    From javafxmobile-plugin with BSD 3-Clause "New" or "Revised" License 4 votes vote down vote up
@InputFiles
@PathSensitive(PathSensitivity.RELATIVE)
public FileCollection getRenderscriptResOutputDir() {
    return renderscriptResOutputDir;
}
 
Example 4
Source File: MergeResources.java    From javafxmobile-plugin with BSD 3-Clause "New" or "Revised" License 4 votes vote down vote up
@InputFiles
@PathSensitive(PathSensitivity.RELATIVE)
public FileCollection getGeneratedResOutputDir() {
    return generatedResOutputDir;
}
 
Example 5
Source File: MergeResources.java    From javafxmobile-plugin with BSD 3-Clause "New" or "Revised" License 4 votes vote down vote up
@InputFiles
@PathSensitive(PathSensitivity.RELATIVE)
public Collection<File> getSourceFolderInputs() {
    return sourceFolderInputs.get();
}
 
Example 6
Source File: CheckTask.java    From spring-javaformat with Apache License 2.0 4 votes vote down vote up
@Override
@PathSensitive(PathSensitivity.RELATIVE)
public FileTree getSource() {
	return super.getSource();
}
 
Example 7
Source File: TwirlCompile.java    From playframework with Apache License 2.0 4 votes vote down vote up
/**
 * {@inheritDoc}
 */
@Override
@PathSensitive(PathSensitivity.RELATIVE)
public FileTree getSource() {
    return super.getSource();
}
 
Example 8
Source File: JavaScriptMinify.java    From playframework with Apache License 2.0 4 votes vote down vote up
/**
 * {@inheritDoc}
 */
@Override
@PathSensitive(PathSensitivity.RELATIVE)
public FileTree getSource() {
    return super.getSource();
}
 
Example 9
Source File: RoutesCompile.java    From playframework with Apache License 2.0 4 votes vote down vote up
/**
 * {@inheritDoc}
 */
@Override
@PathSensitive(PathSensitivity.RELATIVE)
public FileTree getSource() {
    return super.getSource();
}
 
Example 10
Source File: PlayRun.java    From playframework with Apache License 2.0 4 votes vote down vote up
/**
 * The directories of the assets for the Play application (for live reload functionality).
 *
 * @return The directories of the assets
 */
@InputFiles
@PathSensitive(PathSensitivity.RELATIVE)
public ConfigurableFileCollection getAssetsDirs() {
    return assetsDirs;
}
 
Example 11
Source File: ExportDocsTask.java    From curiostack with MIT License 4 votes vote down vote up
@InputFiles
@PathSensitive(PathSensitivity.RELATIVE)
public Property<ConfigurableFileTree> getMdFiles() {
  return mdFiles;
}
 
Example 12
Source File: GenerateProtoTask.java    From curiostack with MIT License 4 votes vote down vote up
@InputFiles
@PathSensitive(PathSensitivity.RELATIVE)
public SourceDirectorySet getSources() {
  return sources;
}
 
Example 13
Source File: GenerateProtoTask.java    From curiostack with MIT License 4 votes vote down vote up
@InputFiles
@PathSensitive(PathSensitivity.RELATIVE)
public SourceDirectorySet getIncludes() {
  return includeDirs;
}