org.gradle.api.tasks.OutputFile Java Examples

The following examples show how to use org.gradle.api.tasks.OutputFile. 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: LintOptions.java    From javaide with GNU General Public License v3.0 5 votes vote down vote up
/**
 * The optional path to where an HTML report should be written
 */
@Override
@Nullable
@Optional
@OutputFile
public File getHtmlOutput() {
    return htmlOutput;
}
 
Example #2
Source File: LintOptions.java    From javaide with GNU General Public License v3.0 5 votes vote down vote up
/**
 * The optional path to where an XML report should be written
 */
@Override
@Nullable
@Optional
@OutputFile
public File getXmlOutput() {
    return xmlOutput;
}
 
Example #3
Source File: AbstractReportTask.java    From javaide with GNU General Public License v3.0 5 votes vote down vote up
/**
 * Returns the file which the report will be written to. When set to {@code null}, the report is written to {@code System.out}.
 * Defaults to {@code null}.
 *
 * @return The output file. May be null.
 */
@Nullable
@Optional
@OutputFile
public File getOutputFile() {
    return outputFile;
}
 
Example #4
Source File: SourceDistTask.java    From pygradle with Apache License 2.0 5 votes vote down vote up
@OutputFile
public File getSdistOutput() {
    Project project = getProject();
    return new File(
        getDistDir(),
        String.format(
            "%s-%s.tar.gz",
            project.getName(),
            // TODO: Is this replace here really necessary?
            project.getVersion().toString().replace("_", "-")));
}
 
Example #5
Source File: Wrapper.java    From Pushjet-Android with BSD 2-Clause "Simplified" License 5 votes vote down vote up
/**
 * Returns the file to write the wrapper properties to.
 */
@OutputFile
public File getPropertiesFile() {
    File jarFileDestination = getJarFile();
    return new File(jarFileDestination.getParentFile(), jarFileDestination.getName().replaceAll("\\.jar$",
            ".properties"));
}
 
Example #6
Source File: Wrapper.java    From Pushjet-Android with BSD 2-Clause "Simplified" License 5 votes vote down vote up
/**
 * Returns the file to write the wrapper properties to.
 */
@OutputFile
public File getPropertiesFile() {
    File jarFileDestination = getJarFile();
    return new File(jarFileDestination.getParentFile(), jarFileDestination.getName().replaceAll("\\.jar$",
            ".properties"));
}
 
Example #7
Source File: Wrapper.java    From pushfish-android with BSD 2-Clause "Simplified" License 5 votes vote down vote up
/**
 * Returns the file to write the wrapper properties to.
 */
@OutputFile
public File getPropertiesFile() {
    File jarFileDestination = getJarFile();
    return new File(jarFileDestination.getParentFile(), jarFileDestination.getName().replaceAll("\\.jar$",
            ".properties"));
}
 
Example #8
Source File: Module.java    From clojurephant with Apache License 2.0 4 votes vote down vote up
@OutputFile
public RegularFileProperty getOutputTo() {
  return outputTo;
}
 
Example #9
Source File: MergeResources.java    From javaide with GNU General Public License v3.0 4 votes vote down vote up
@Optional
@OutputFile
public File getPublicFile() {
    return publicFile;
}
 
Example #10
Source File: ClojureCheck.java    From clojurephant with Apache License 2.0 4 votes vote down vote up
@OutputFile
public RegularFileProperty getInternalOutputFile() {
  return outputFile;
}
 
Example #11
Source File: Make.java    From native-samples with Apache License 2.0 4 votes vote down vote up
@OutputFile
public final RegularFileProperty getBinary() {
    return binary;
}
 
Example #12
Source File: InstallVirtualEnvironmentTask.java    From pygradle with Apache License 2.0 4 votes vote down vote up
@OutputFile
public File getVirtualEnvInterpreter() {
    return pythonDetails.getVirtualEnvInterpreter();
}
 
Example #13
Source File: PackageTask.java    From thorntail with Apache License 2.0 4 votes vote down vote up
@OutputFile
File getOutputFile() {
    return BuildTool.getOutputFile(getBaseName() + UBERJAR_SUFFIX + ".jar", getOutputDirectory());
}
 
Example #14
Source File: SilentExecTask.java    From shipkit with MIT License 4 votes vote down vote up
/**
 * See: {@link #getBuildOutput()}
 */
@OutputFile
public void setBuildOutputFile(File file) {
    buildOutput = file;
}
 
Example #15
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 #16
Source File: PinRequirementsTask.java    From pygradle with Apache License 2.0 4 votes vote down vote up
@OutputFile
public File getPinnedFile() {
    PythonExtension pythonExtension = ExtensionUtils.getPythonExtension(getProject());
    return pythonExtension.getPinnedFile();
}
 
Example #17
Source File: ParallelWheelGenerationTask.java    From pygradle with Apache License 2.0 4 votes vote down vote up
@OutputFile
public File getBuildReport() {
    return new File(getProject().getBuildDir(), "wheel-build.txt");
}
 
Example #18
Source File: BuildWebAppTask.java    From pygradle with Apache License 2.0 4 votes vote down vote up
@OutputFile
public File getExecutable() {
    return executable;
}
 
Example #19
Source File: ClojureScriptCompileOptions.java    From clojurephant with Apache License 2.0 4 votes vote down vote up
@OutputFile
@Optional
public RegularFileProperty getSourceMapPath() {
  return sourceMapFile;
}
 
Example #20
Source File: ClojureScriptCompileOptions.java    From clojurephant with Apache License 2.0 4 votes vote down vote up
@OutputFile
@Optional
public RegularFileProperty getOutputTo() {
  return outputTo;
}
 
Example #21
Source File: GenerateProtoTask.java    From curiostack with MIT License 4 votes vote down vote up
@OutputFile
public Property<File> getDescriptorOutputPath() {
  return descriptorSetOptions.getPath();
}
 
Example #22
Source File: UpdateNodeResolutions.java    From curiostack with MIT License 4 votes vote down vote up
@OutputFile
public File getNewPackageJson() {
  return packageJson();
}
 
Example #23
Source File: UploadToCodeCovTask.java    From curiostack with MIT License 4 votes vote down vote up
@OutputFile
public File getCodeCovReportFile() {
  return getProject().file("build/codecov-report.txt");
}
 
Example #24
Source File: GenerateSchemaTask.java    From smallrye-graphql with Apache License 2.0 4 votes vote down vote up
@Optional
@OutputFile
public String getDestination() {
    return destination;
}
 
Example #25
Source File: DownloadWebDriver.java    From zap-extensions with Apache License 2.0 4 votes vote down vote up
@OutputFile
public RegularFileProperty getOutputFile() {
    return outputFile;
}
 
Example #26
Source File: HelmPackage.java    From gradle-plugins with Apache License 2.0 4 votes vote down vote up
@OutputFile
public File getOutputFile() {
	HelmExtension extension = getProject().getExtensions().getByType(HelmExtension.class);
	return extension.getOutputFile(packageName);
}
 
Example #27
Source File: MergeFileTask.java    From javaide with GNU General Public License v3.0 4 votes vote down vote up
@OutputFile
public File getOutputFile() {
    return mOutputFile;
}
 
Example #28
Source File: Wrapper.java    From Pushjet-Android with BSD 2-Clause "Simplified" License 4 votes vote down vote up
/**
 * Returns the file to write the wrapper batch script to.
 */
@OutputFile
public File getBatchScript() {
    File scriptFile = getScriptFile();
    return new File(scriptFile.getParentFile(), scriptFile.getName().replaceFirst("(\\.[^\\.]+)?$", ".bat"));
}
 
Example #29
Source File: Wrapper.java    From Pushjet-Android with BSD 2-Clause "Simplified" License 4 votes vote down vote up
/**
 * Returns the file to write the wrapper script to.
 */
@OutputFile
public File getScriptFile() {
    return getProject().file(scriptFile);
}
 
Example #30
Source File: SamplesManifestTask.java    From native-samples with Apache License 2.0 4 votes vote down vote up
@OutputFile
public RegularFileProperty getManifest() {
    return manifest;
}