org.gradle.api.tasks.InputDirectory Java Examples

The following examples show how to use org.gradle.api.tasks.InputDirectory. 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: 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 #2
Source File: CopyWebTask.java    From curiostack with MIT License 5 votes vote down vote up
@InputDirectory
@Optional
@Nullable
public File getStorybookDir() {
  var f = getProject().file("build/storybook");
  if (f.exists()) {
    return f;
  }
  return null;
}
 
Example #3
Source File: QuarkusDev.java    From quarkus with Apache License 2.0 5 votes vote down vote up
@Optional
@InputDirectory
public File getSourceDir() {
    if (sourceDir == null) {
        return extension().sourceDir();
    } else {
        return new File(sourceDir);
    }
}
 
Example #4
Source File: QuarkusDev.java    From quarkus with Apache License 2.0 5 votes vote down vote up
@InputDirectory
@Optional
public File getBuildDir() {
    if (buildDir == null) {
        buildDir = getProject().getBuildDir();
    }
    return buildDir;
}
 
Example #5
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 #6
Source File: CopyWebTask.java    From curiostack with MIT License 4 votes vote down vote up
@InputDirectory
public File getWebDir() {
  return getProject().file("build/web");
}
 
Example #7
Source File: ConfigureTask.java    From native-samples with Apache License 2.0 4 votes vote down vote up
@InputDirectory
public DirectoryProperty getSourceDirectory() {
    return sourceDirectory;
}
 
Example #8
Source File: ConfigureTask.java    From native-samples with Apache License 2.0 4 votes vote down vote up
@InputDirectory
public DirectoryProperty getSourceDirectory() {
    return sourceDirectory;
}
 
Example #9
Source File: ConfigureTask.java    From native-samples with Apache License 2.0 4 votes vote down vote up
@InputDirectory
public DirectoryProperty getSourceDirectory() {
    return sourceDirectory;
}
 
Example #10
Source File: StageStandardExtension.java    From app-gradle-plugin with Apache License 2.0 4 votes vote down vote up
@InputDirectory
public File getSourceDirectory() {
  return sourceDirectory;
}
 
Example #11
Source File: GenRepoInfoFileExtension.java    From app-gradle-plugin with Apache License 2.0 4 votes vote down vote up
@InputDirectory
public File getSourceDirectory() {
  return sourceDirectory;
}
 
Example #12
Source File: StageAppYamlExtension.java    From app-gradle-plugin with Apache License 2.0 4 votes vote down vote up
@InputDirectory
public File getAppEngineDirectory() {
  return appEngineDirectory;
}
 
Example #13
Source File: StageAppYamlExtension.java    From app-gradle-plugin with Apache License 2.0 4 votes vote down vote up
@Optional
@InputDirectory
public File getDockerDirectory() {
  return dockerDirectory;
}
 
Example #14
Source File: InputDirectoryPropertyAnnotationHandler.java    From Pushjet-Android with BSD 2-Clause "Simplified" License 4 votes vote down vote up
public Class<? extends Annotation> getAnnotationType() {
    return InputDirectory.class;
}
 
Example #15
Source File: TextureGenerationTask.java    From settlers-remake with MIT License 4 votes vote down vote up
@InputDirectory
public File getResourceDirectory() {
	return resourceDirectory;
}
 
Example #16
Source File: GenerateClientLibrarySourceTask.java    From endpoints-framework-gradle-plugin with Apache License 2.0 4 votes vote down vote up
@InputDirectory
public File getClientLibDir() {
  return clientLibDir;
}
 
Example #17
Source File: GenerateClientLibrariesTask.java    From endpoints-framework-gradle-plugin with Apache License 2.0 4 votes vote down vote up
@InputDirectory
public File getGeneratedDiscoveryDocsDir() {
  return generatedDiscoveryDocsDir;
}
 
Example #18
Source File: EndpointsArtifactTask.java    From endpoints-framework-gradle-plugin with Apache License 2.0 4 votes vote down vote up
@InputDirectory
public File getWebAppDir() {
  return webAppDir;
}
 
Example #19
Source File: AbstractPythonMainSourceDefaultTask.java    From pygradle with Apache License 2.0 4 votes vote down vote up
@InputDirectory
public FileTree getVirtualEnv() {
    ConfigurableFileTree files = getProject().fileTree(getPythonDetails().getVirtualEnv());
    files.exclude(standardExcludes());
    return files;
}
 
Example #20
Source File: JettyRun.java    From Pushjet-Android with BSD 2-Clause "Simplified" License 4 votes vote down vote up
/**
 * Returns the directory containing the web application source files.
 */
@InputDirectory
public File getWebAppSourceDirectory() {
    return webAppSourceDirectory;
}
 
Example #21
Source File: InputDirectoryPropertyAnnotationHandler.java    From Pushjet-Android with BSD 2-Clause "Simplified" License 4 votes vote down vote up
public Class<? extends Annotation> getAnnotationType() {
    return InputDirectory.class;
}
 
Example #22
Source File: JettyRun.java    From Pushjet-Android with BSD 2-Clause "Simplified" License 4 votes vote down vote up
/**
 * Returns the directory containing the web application source files.
 */
@InputDirectory
public File getWebAppSourceDirectory() {
    return webAppSourceDirectory;
}
 
Example #23
Source File: DesugarTask.java    From javafxmobile-plugin with BSD 3-Clause "New" or "Revised" License 4 votes vote down vote up
@InputDirectory
public File getInputDir() {
    return inputDir;
}
 
Example #24
Source File: JettyRun.java    From pushfish-android with BSD 2-Clause "Simplified" License 4 votes vote down vote up
/**
 * Returns the directory containing the web application source files.
 */
@InputDirectory
public File getWebAppSourceDirectory() {
    return webAppSourceDirectory;
}
 
Example #25
Source File: InputDirectoryPropertyAnnotationHandler.java    From pushfish-android with BSD 2-Clause "Simplified" License 4 votes vote down vote up
public Class<? extends Annotation> getAnnotationType() {
    return InputDirectory.class;
}
 
Example #26
Source File: JettyRun.java    From pushfish-android with BSD 2-Clause "Simplified" License 4 votes vote down vote up
/**
 * Returns the directory containing the web application source files.
 */
@InputDirectory
public File getWebAppSourceDirectory() {
    return webAppSourceDirectory;
}
 
Example #27
Source File: InputDirectoryPropertyAnnotationHandler.java    From pushfish-android with BSD 2-Clause "Simplified" License 4 votes vote down vote up
public Class<? extends Annotation> getAnnotationType() {
    return InputDirectory.class;
}
 
Example #28
Source File: GlobClean.java    From commerce-gradle-plugin with Apache License 2.0 4 votes vote down vote up
@SkipWhenEmpty
@InputDirectory
public DirectoryProperty getBaseFolder() {
    return baseFolder;
}
 
Example #29
Source File: IgniteDeepTask.java    From radiance with BSD 3-Clause "New" or "Revised" License 4 votes vote down vote up
@InputDirectory
public File getInputRootDirectory() {
    return inputRootDirectory;
}
 
Example #30
Source File: IgniteDeepTask.java    From radiance with BSD 3-Clause "New" or "Revised" License 4 votes vote down vote up
@InputDirectory
public File getOutputRootDirectory() {
    return outputRootDirectory;
}