org.gradle.api.tasks.OutputDirectory Java Examples

The following examples show how to use org.gradle.api.tasks.OutputDirectory. 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: LayeredWheelCacheTask.java    From pygradle with Apache License 2.0 5 votes vote down vote up
@OutputDirectory
public File getProjectLayerWheelCache() {
    WheelExtension wheelExtension = ExtensionUtils.getPythonComponentExtension(getProject(), WheelExtension.class);
    Optional<File> cacheDir =  wheelExtension.getProjectLayerWheelCache();
    if (!cacheDir.isPresent()) {
        cacheDir = Optional.of(new File(getProject().getBuildDir(), "wheel-cache"));
        wheelExtension.setProjectLayerWheelCache(cacheDir.get());
    }
    return cacheDir.get();
}
 
Example #2
Source File: LayeredWheelCacheTask.java    From pygradle with Apache License 2.0 5 votes vote down vote up
@OutputDirectory
public File getHostLayerWheelCache() {
    WheelExtension wheelExtension = ExtensionUtils.getPythonComponentExtension(getProject(), WheelExtension.class);
    Optional<File> cacheDir =  wheelExtension.getHostLayerWheelCache();
    if (!cacheDir.isPresent()) {
        cacheDir = Optional.of(new File(getProject().getGradle().getGradleUserHomeDir(), "pygradle/wheel-cache"));
        wheelExtension.setHostLayerWheelCache(cacheDir.get());
    }
    return cacheDir.get();
}
 
Example #3
Source File: ConfigureTask.java    From native-samples with Apache License 2.0 4 votes vote down vote up
@OutputDirectory
public DirectoryProperty getMakeDirectory() {
    return makeDirectory;
}
 
Example #4
Source File: ExplodeWarTask.java    From app-gradle-plugin with Apache License 2.0 4 votes vote down vote up
@OutputDirectory
public File getExplodedAppDirectory() {
  return explodedAppDirectory;
}
 
Example #5
Source File: SassCompileTask.java    From GradleSassPlugin with Apache License 2.0 4 votes vote down vote up
@OutputDirectory
public File getOutDir() {
    return outDir != null ? outDir : Paths.get(getProject().getBuildDir().getPath(), "sass", sassSetName).toFile();
}
 
Example #6
Source File: CloneGitRepositoryTask.java    From shipkit with MIT License 4 votes vote down vote up
/**
 * See {@link #getTargetDir()}
 */
@OutputDirectory
public void setTargetDir(File targetDir) {
    this.targetDir = targetDir;
}
 
Example #7
Source File: ParallelWheelGenerationTask.java    From pygradle with Apache License 2.0 4 votes vote down vote up
@OutputDirectory
public File getCacheDir() {
    return cacheDir;
}
 
Example #8
Source File: GenerateClientLibrariesTask.java    From endpoints-framework-gradle-plugin with Apache License 2.0 4 votes vote down vote up
@OutputDirectory
public File getClientLibraryDir() {
  return clientLibraryDir;
}
 
Example #9
Source File: GenerateClientLibrarySourceTask.java    From endpoints-framework-gradle-plugin with Apache License 2.0 4 votes vote down vote up
@OutputDirectory
public File getGeneratedSrcDir() {
  return generatedSrcDir;
}
 
Example #10
Source File: StageAppYamlExtension.java    From app-gradle-plugin with Apache License 2.0 4 votes vote down vote up
@OutputDirectory
public File getStagingDirectory() {
  return stagingDirectory;
}
 
Example #11
Source File: GenRepoInfoFileExtension.java    From app-gradle-plugin with Apache License 2.0 4 votes vote down vote up
@OutputDirectory
public File getOutputDirectory() {
  return outputDirectory;
}
 
Example #12
Source File: ExtractDiscoveryDocZipsTask.java    From endpoints-framework-gradle-plugin with Apache License 2.0 4 votes vote down vote up
@OutputDirectory
public File getDiscoveryDocsDir() {
  return discoveryDocsDir;
}
 
Example #13
Source File: DownloadZipAndUnpack.java    From native-samples with Apache License 2.0 4 votes vote down vote up
@OutputDirectory
public DirectoryProperty getOutputDirectory() {
    return outputDirectory;
}
 
Example #14
Source File: ConfigureTask.java    From native-samples with Apache License 2.0 4 votes vote down vote up
@OutputDirectory
public DirectoryProperty getMakeDirectory() {
    return makeDirectory;
}
 
Example #15
Source File: SyncExternalRepoTask.java    From native-samples with Apache License 2.0 4 votes vote down vote up
@OutputDirectory
public DirectoryProperty getCheckoutDirectory() {
    return checkoutDirectory;
}
 
Example #16
Source File: Make.java    From native-samples with Apache License 2.0 4 votes vote down vote up
@OutputDirectory
public final DirectoryProperty getOutputDirectory() {
    return outputDirectory;
}
 
Example #17
Source File: GitPublishReset.java    From gradle-git-publish with Apache License 2.0 4 votes vote down vote up
@OutputDirectory
public DirectoryProperty getRepoDirectory() {
  return repoDirectory;
}
 
Example #18
Source File: ConfigureTask.java    From native-samples with Apache License 2.0 4 votes vote down vote up
@OutputDirectory
public DirectoryProperty getMakeDirectory() {
    return makeDirectory;
}
 
Example #19
Source File: ClojureCompile.java    From clojurephant with Apache License 2.0 4 votes vote down vote up
@OutputDirectory
public DirectoryProperty getDestinationDir() {
  return destinationDir;
}
 
Example #20
Source File: ClojureScriptCompile.java    From clojurephant with Apache License 2.0 4 votes vote down vote up
@OutputDirectory
public DirectoryProperty getDestinationDir() {
  return destinationDir;
}
 
Example #21
Source File: ClojureScriptCompileOptions.java    From clojurephant with Apache License 2.0 4 votes vote down vote up
@Optional
@OutputDirectory
public DirectoryProperty getOutputDir() {
  return outputDir;
}
 
Example #22
Source File: ExtractProtosTask.java    From curiostack with MIT License 4 votes vote down vote up
@OutputDirectory
public DirectoryProperty getDestDir() {
  return destDir;
}
 
Example #23
Source File: ConvertConfigsToJsonTask.java    From curiostack with MIT License 4 votes vote down vote up
@OutputDirectory
public Path getOutputDir() {
  return outputDir;
}
 
Example #24
Source File: ExportDocsTask.java    From curiostack with MIT License 4 votes vote down vote up
@OutputDirectory
public DirectoryProperty getOutputDir() {
  return outputDir;
}
 
Example #25
Source File: NativeImageTask.java    From curiostack with MIT License 4 votes vote down vote up
@OutputDirectory
public DirectoryProperty getOutputDir() {
  return outputDir;
}
 
Example #26
Source File: CopyWebTask.java    From curiostack with MIT License 4 votes vote down vote up
@OutputDirectory
public File getOutputDir() {
  return getProject().file("build/javaweb");
}
 
Example #27
Source File: PackageWebTask.java    From curiostack with MIT License 4 votes vote down vote up
@OutputDirectory
public String getWebDir() {
  return "build/web";
}
 
Example #28
Source File: DownloadToolTask.java    From curiostack with MIT License 4 votes vote down vote up
@OutputDirectory
public Path getToolDir() {
  return toolManager.getToolDir(name);
}
 
Example #29
Source File: PrepareLibraryTask.java    From javaide with GNU General Public License v3.0 4 votes vote down vote up
@OutputDirectory
public File getExplodedDir() {
    return explodedDir;
}
 
Example #30
Source File: IncrementalTask.java    From javaide with GNU General Public License v3.0 4 votes vote down vote up
@OutputDirectory
@Optional
public File getIncrementalFolder() {
    return incrementalFolder;
}