Java 类org.gradle.api.tasks.InputFile 实例源码

项目:Reer    文件:GeneratorTask.java   
@Optional @InputFile
protected File getInputFileIfExists() {
    File inputFile = getInputFile();
    if (inputFile == null) {
        File outputFile = getOutputFile();
        if (outputFile != null && outputFile.exists()) {
            return outputFile;
        } else {
            return null;
        }
    } else if (inputFile.exists()) {
        return inputFile;
    } else {
        return null;
    }
}
项目:Reer    文件:JettyRun.java   
@Optional @InputFile
protected File getWebXmlIfExists() {
    File webXml = getWebXml();
    if (webXml != null && webXml.exists()) {
        return webXml;
    } else {
        return null;
    }
}
项目:Reer    文件:War.java   
/**
 * Returns the {@code web.xml} file to include in the WAR archive. When {@code null}, no {@code web.xml} file is included in the WAR.
 *
 * @return The {@code web.xml} file.
 */
@InputFile
@PathSensitive(PathSensitivity.NONE)
@Optional
public File getWebXml() {
    return webXml;
}
项目:intellij-ce-playground    文件:UninstallTask.java   
@InputFile
public File getAdbExe() {
    SdkInfo sdkInfo = getBuilder().getSdkInfo();
    if (sdkInfo == null) {
        return null;
    }
    return sdkInfo.getAdb();
}
项目:Reer    文件:RhinoShellExec.java   
@InputFile
@Optional
public File getScript() {
    return script == null ? null : getProject().file(script);
}
项目:Reer    文件:ScalaDocOptions.java   
/**
 * Returns the style sheet to override default style.
 */
@InputFile @Optional
public File getStyleSheet() {
    return styleSheet;
}
项目:Reer    文件:InstallExecutable.java   
/**
 * The executable file to install.
 */
@InputFile
public File getExecutable() {
    return executable;
}
项目:Reer    文件:PreCompiledHeader.java   
@Optional @InputFile
public File getPrefixHeaderFile() {
    return prefixHeaderFile;
}
项目:Reer    文件:JettyRunWar.java   
/**
 * Returns the web application to deploy.
 */
@InputFile
public File getWebApp() {
    return webApp;
}
项目:Reer    文件:AbstractJettyRunTask.java   
@InputFile
@Optional
public File getWebDefaultXml() {
    return webDefaultXml;
}
项目:Reer    文件:AbstractJettyRunTask.java   
@InputFile
@Optional
public File getOverrideWebXml() {
    return overrideWebXml;
}
项目:Reer    文件:AbstractJettyRunTask.java   
/**
 * Returns the jetty configuration file to use. When {@code null}, no configuration file is used.
 */
@InputFile
@Optional
public File getJettyConfig() {
    return jettyConfig;
}
项目:Reer    文件:JettyRun.java   
@InputFile
@Optional
public File getJettyEnvXml() {
    return jettyEnvXml;
}
项目:Reer    文件:JettyRun.java   
@InputFile
@Optional
public File getJettyEnvXmlFile() {
    return jettyEnvXmlFile;
}
项目:Reer    文件:InputFilePropertyAnnotationHandler.java   
public Class<? extends Annotation> getAnnotationType() {
    return InputFile.class;
}
项目:atlas    文件:AbstractBundleTask.java   
@InputFile
protected File getManifest() {
    return awbBundle.getAndroidLibrary().getManifest();
}
项目:atlas    文件:AwoInstallTask.java   
@InputFile
public File getAwoFile() {
    return awoFile;
}
项目:atlas    文件:ProcessAwoAndroidResources.java   
@InputFile
public File getManifestFile() {
    return manifestFile;
}
项目:atlas    文件:ProcessAwoAndroidResources.java   
@InputFile
public File getMainSymbolFile() {
    return mainSymbolFile;
}
项目:atlas    文件:ProcessAwoAndroidResources.java   
@InputFile
public File getShareResourceFile() {
    return shareResourceFile;
}
项目:atlas    文件:ProcessAwoAndroidResources.java   
@InputFile
@Optional
public File getRtxtFile() {
    return rtxtFile;
}
项目:atlas    文件:DexBuildTask.java   
@InputFile
public File getClassJar() {
    return classJar;
}
项目:atlas    文件:DexInstallTask.java   
@InputFile
public File getDexFile() {
    return dexFile;
}
项目:atlas    文件:AwbDexTask.java   
@InputFile
@Optional
public File getMainDexListFile() {
    return mainDexListFile;
}
项目:atlas    文件:AwoFullApkBuildTask.java   
@InputFile
public File getBaseApkFile() {
    return baseApkFile;
}
项目:atlas    文件:AwoFullApkBuildTask.java   
@InputFile
public File getAwoFile() {
    return awoFile;
}
项目:atlas    文件:ApBuildTask.java   
@InputFile
public File getApkFile() {
    return apkFile;
}
项目:atlas    文件:ProcessAwbAndroidResources.java   
@InputFile
public File getManifestFile() {
    return manifestFile;
}
项目:atlas    文件:ProcessAwbAndroidResources.java   
@InputFile
public File getMainSymbolFile() {
    return mainSymbolFile;
}
项目:atlas    文件:ProcessAwbAndroidResources.java   
@InputFile
public File getShareResourceFile() {
    return shareResourceFile;
}
项目:atlas    文件:ProcessAwbAndroidResources.java   
@InputFile
@Optional
public File getShareResourceFile2() {
    return shareResourceFile2;
}
项目:atlas    文件:ProcessAwbAndroidResources.java   
@InputFile
@Optional
public File getRtxtFile() {
    return rtxtFile;
}
项目:atlas    文件:ProcessAwbAndroidResources.java   
@InputFile
@Optional
public File getBaselineFile() {
    return baselineFile;
}
项目:atlas    文件:CheckManifestInIncrementalMode.java   
@NonNull
@InputFile

public File getManifestFile() {
    return manifestFile;
}
项目:atlas    文件:AwoInstallTask.java   
@InputFile
@Optional
public File getMainDexFile() {
    return mainDexFile;
}
项目:atlas    文件:PrepareBaseApkTask.java   
@InputFile
public File getBaseApk() {
    return baseApk;
}
项目:atlas    文件:PrepareAPTask.java   
@InputFile
@Optional
@Nullable
public File getApFile() {
    return apFile;
}
项目:atlas    文件:DiffBundleInfoTask.java   
@InputFile
@Optional
public File getManifestFile() {
    return manifestFile;
}
项目:atlas    文件:TPatchDiffResAPBuildTask.java   
@InputFile
public File getManifestFile() {
    return manifestFile;
}
项目:atlas    文件:TPatchDiffResAPBuildTask.java   
@InputFile
public File getBaseManifestFile() {
    return baseManifestFile;
}