org.gradle.api.tasks.PathSensitive Java Examples

The following examples show how to use org.gradle.api.tasks.PathSensitive. 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: AbstractJavaccTask.java    From javaccPlugin with MIT License 5 votes vote down vote up
@InputDirectory
@SkipWhenEmpty
@PathSensitive(PathSensitivity.NONE)
@Optional
public File getInputDirectory() {
    if (!inputDirectory.exists()) {
        return null;
    } else {
        return inputDirectory;
    }
}
 
Example #3
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 #4
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 #5
Source File: OutputDirTask.java    From gradle-avro-plugin with Apache License 2.0 4 votes vote down vote up
@Nonnull
@PathSensitive(value = RELATIVE)
public FileTree getSource() {
    return super.getSource();
}
 
Example #6
Source File: JGivenReportTask.java    From JGiven with Apache License 2.0 4 votes vote down vote up
@InputDirectory
@SkipWhenEmpty
@PathSensitive(PathSensitivity.NONE)
public File getResults() {
    return results;
}
 
Example #7
Source File: JGivenReport.java    From JGiven with Apache License 2.0 4 votes vote down vote up
@Optional
@InputFile
@PathSensitive( PathSensitivity.NONE )
File getCustomJsFile();
 
Example #8
Source File: JGivenReport.java    From JGiven with Apache License 2.0 4 votes vote down vote up
@Optional
@InputFile
@PathSensitive( PathSensitivity.NONE )
File getCustomCssFile();
 
Example #9
Source File: UnMockTask.java    From unmock-plugin with Apache License 2.0 4 votes vote down vote up
@OutputFile
@PathSensitive(PathSensitivity.NONE)
public File getUnmockedOutputJar() {
    return unmockedOutputJar;
}
 
Example #10
Source File: UnMockTask.java    From unmock-plugin with Apache License 2.0 4 votes vote down vote up
@OutputDirectory
@PathSensitive(PathSensitivity.NONE)
public File getOutputDir() {
    return outputDir;
}
 
Example #11
Source File: UnMockTask.java    From unmock-plugin with Apache License 2.0 4 votes vote down vote up
@InputFiles
@PathSensitive(PathSensitivity.NONE)
public FileCollection getAllAndroid() {
    return allAndroid;
}
 
Example #12
Source File: GenerateProtoTask.java    From curiostack with MIT License 4 votes vote down vote up
@InputFiles
@PathSensitive(PathSensitivity.RELATIVE)
public SourceDirectorySet getIncludes() {
  return includeDirs;
}
 
Example #13
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 #14
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 #15
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 #16
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 #17
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 #18
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 #19
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 #20
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 #21
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;
}