类org.gradle.api.tasks.OutputFile源码实例Demo

下面列出了怎么用org.gradle.api.tasks.OutputFile的API类实例代码及写法,或者点击链接到github查看源代码。

源代码1 项目: pushfish-android   文件: Wrapper.java
/**
 * 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"));
}
 
源代码2 项目: javaide   文件: AbstractReportTask.java
/**
 * 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;
}
 
源代码3 项目: javaide   文件: LintOptions.java
/**
 * The optional path to where an HTML report should be written
 */
@Override
@Nullable
@Optional
@OutputFile
public File getHtmlOutput() {
    return htmlOutput;
}
 
源代码4 项目: javaide   文件: LintOptions.java
/**
 * The optional path to where an XML report should be written
 */
@Override
@Nullable
@Optional
@OutputFile
public File getXmlOutput() {
    return xmlOutput;
}
 
源代码5 项目: pygradle   文件: SourceDistTask.java
@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("_", "-")));
}
 
源代码6 项目: Pushjet-Android   文件: Wrapper.java
/**
 * 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"));
}
 
源代码7 项目: Pushjet-Android   文件: Wrapper.java
/**
 * 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"));
}
 
源代码8 项目: smallrye-graphql   文件: GenerateSchemaTask.java
@Optional
@OutputFile
public String getDestination() {
    return destination;
}
 
源代码9 项目: pushfish-android   文件: Wrapper.java
/**
 * Returns the file to write the wrapper script to.
 */
@OutputFile
public File getScriptFile() {
    return getProject().file(scriptFile);
}
 
源代码10 项目: pushfish-android   文件: Wrapper.java
/**
 * 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"));
}
 
源代码11 项目: pushfish-android   文件: Wrapper.java
/**
 * Returns the file to write the wrapper jar file to.
 */
@OutputFile
public File getJarFile() {
    return getProject().file(jarFile);
}
 
源代码12 项目: pushfish-android   文件: Wrapper.java
/**
 * Returns the file to write the wrapper script to.
 */
@OutputFile
public File getScriptFile() {
    return getProject().file(scriptFile);
}
 
源代码13 项目: pushfish-android   文件: Wrapper.java
/**
 * 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"));
}
 
源代码14 项目: pushfish-android   文件: Wrapper.java
/**
 * Returns the file to write the wrapper jar file to.
 */
@OutputFile
public File getJarFile() {
    return getProject().file(jarFile);
}
 
@OutputFile
public RegularFileProperty getTarget() {
    return target;
}
 
@OutputFile
public RegularFileProperty getTargetFile() {
    return targetFile;
}
 
源代码17 项目: firebase-android-sdk   文件: ApiInformationTask.java
@OutputFile
abstract File getBaselineFile();
 
源代码18 项目: firebase-android-sdk   文件: ApiInformationTask.java
@OutputFile
abstract File getOutputApiFile();
 
源代码19 项目: firebase-android-sdk   文件: ApiInformationTask.java
@OutputFile
abstract File getOutputFile();
 
@OutputFile
abstract File getApiTxt();
 
@OutputFile
abstract File getBaselineFile();
 
源代码22 项目: javafxmobile-plugin   文件: MergeResources.java
@Optional
@OutputFile
public File getPublicFile() {
    return publicFile;
}
 
源代码23 项目: spring-javaformat   文件: CheckTask.java
@OutputFile
public File getReportLocation() {
	return this.reportLocation;
}
 
源代码24 项目: quarkus   文件: QuarkusBuild.java
@OutputFile
public File getOutputDir() {
    return new File(getProject().getBuildDir(), extension().finalName() + "-runner.jar");
}
 
源代码25 项目: atlas   文件: MergeManifestAwbsConfigAction.java
@OutputFile
protected File getManifestOutputFile() {
    return awbBundle.getMergedManifest();
}
 
源代码26 项目: javaide   文件: ProcessAndroidResources.java
@OutputFile
@Optional
public File getProguardOutputFile() {
    return proguardOutputFile;
}
 
源代码27 项目: javaide   文件: MergeResources.java
@Optional
@OutputFile
public File getPublicFile() {
    return publicFile;
}
 
源代码28 项目: javaide   文件: ZipAlign.java
@OutputFile
public File getOutputFile() {
    return outputFile;
}
 
源代码29 项目: javaide   文件: PackageApplication.java
@OutputFile
public File getOutputFile() {
    return outputFile;
}
 
源代码30 项目: javaide   文件: MergeFileTask.java
@OutputFile
public File getOutputFile() {
    return mOutputFile;
}
 
 类所在包
 类方法
 同包方法