当前位置: 首页>>代码示例>>Java>>正文


Java OutputDirectory类代码示例

本文整理汇总了Java中org.gradle.api.tasks.OutputDirectory的典型用法代码示例。如果您正苦于以下问题:Java OutputDirectory类的具体用法?Java OutputDirectory怎么用?Java OutputDirectory使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


OutputDirectory类属于org.gradle.api.tasks包,在下文中一共展示了OutputDirectory类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: getOutputDirectory

import org.gradle.api.tasks.OutputDirectory; //导入依赖的package包/类
@OutputDirectory
protected File getOutputDirectory() {
    File destinationDir = getDestinationDir();
    if (destinationDir == null) {
        destinationDir = options.getDestinationDirectory();
    }
    return destinationDir;
}
 
开发者ID:lxxlxx888,项目名称:Reer,代码行数:9,代码来源:Javadoc.java

示例2: getOutputDirectory

import org.gradle.api.tasks.OutputDirectory; //导入依赖的package包/类
@OutputDirectory
public File getOutputDirectory() {
    if (outputDirectory == null) {
        return null;
    }
    return getProject().file(outputDirectory);
}
 
开发者ID:lxxlxx888,项目名称:Reer,代码行数:8,代码来源:GeneratePluginDescriptors.java

示例3: getSdkLocation

import org.gradle.api.tasks.OutputDirectory; //导入依赖的package包/类
/**
 * This method will return the given sdkLocation, in case it is null, we throw
 * an error
 * 
 * @return location of the Sdk
 * @throws Throwable
 *             if the location can't be found
 */
@OutputDirectory
public String getSdkLocation() throws Throwable {
	sdkLocation = project.findProperty("sdkVersion") == null ? sdkLocation : (String) project.findProperty("sdkVersion");
		if (sdkLocation == null || sdkLocation.isEmpty()) {
			new Throwable("sdkLocation is empty, please check your gradle build file");
		}
	return sdkLocation;
}
 
开发者ID:TTS-TMC,项目名称:neo-java-web-gradle-plugin,代码行数:17,代码来源:NeoJavaWebExtension.java

示例4: getServerLocation

import org.gradle.api.tasks.OutputDirectory; //导入依赖的package包/类
@OutputDirectory
public String getServerLocation() throws Throwable {
		if (serverLocation == null || serverLocation.isEmpty()) {
			throw new Throwable("serverLocation is empty, please check your gradle build file");
		}
	return serverLocation;
}
 
开发者ID:TTS-TMC,项目名称:neo-java-web-gradle-plugin,代码行数:8,代码来源:NeoJavaWebExtension.java

示例5: getSourceDir

import org.gradle.api.tasks.OutputDirectory; //导入依赖的package包/类
@OutputDirectory
public File getSourceDir() {
    return sourceDir;
}
 
开发者ID:lxxlxx888,项目名称:Reer,代码行数:5,代码来源:GenerateCUnitLauncher.java

示例6: getHeaderDir

import org.gradle.api.tasks.OutputDirectory; //导入依赖的package包/类
@OutputDirectory
public File getHeaderDir() {
    return headerDir;
}
 
开发者ID:lxxlxx888,项目名称:Reer,代码行数:5,代码来源:GenerateCUnitLauncher.java

示例7: getDestinationDir

import org.gradle.api.tasks.OutputDirectory; //导入依赖的package包/类
@OutputDirectory
public File getDestinationDir() {
    return getProject().file(destinationDir);
}
 
开发者ID:lxxlxx888,项目名称:Reer,代码行数:5,代码来源:CoffeeScriptCompile.java

示例8: getDestinationDir

import org.gradle.api.tasks.OutputDirectory; //导入依赖的package包/类
/**
 * Returns the directory to generate the API documentation into.
 */
@OutputDirectory
public File getDestinationDir() {
    return destinationDir;
}
 
开发者ID:lxxlxx888,项目名称:Reer,代码行数:8,代码来源:ScalaDoc.java

示例9: getDestinationDir

import org.gradle.api.tasks.OutputDirectory; //导入依赖的package包/类
/**
 * Include the destination directory as an output, to pick up auxiliary files produced alongside the main output file
 */
@OutputDirectory
public File getDestinationDir() {
    return getOutputFile().getParentFile();
}
 
开发者ID:lxxlxx888,项目名称:Reer,代码行数:8,代码来源:AbstractLinkTask.java

示例10: getDestinationDir

import org.gradle.api.tasks.OutputDirectory; //导入依赖的package包/类
/**
 * The directory to install files into.
 */
@OutputDirectory
public File getDestinationDir() {
    return destinationDir;
}
 
开发者ID:lxxlxx888,项目名称:Reer,代码行数:8,代码来源:InstallExecutable.java

示例11: getOutputDirectory

import org.gradle.api.tasks.OutputDirectory; //导入依赖的package包/类
/**
 * The target output directory used for writing the classpath manifest. Defaults to {@code "$buildDir/$task.name"}.
 */
@OutputDirectory
public File getOutputDirectory() {
    return outputDirectory;
}
 
开发者ID:lxxlxx888,项目名称:Reer,代码行数:8,代码来源:PluginUnderTestMetadata.java

示例12: getOutputDirectory

import org.gradle.api.tasks.OutputDirectory; //导入依赖的package包/类
/**
 * The location to write TestNG's output. <p> Defaults to the owning test task's location for writing the HTML report.
 *
 * @since 1.11
 */
@Incubating
@OutputDirectory
public File getOutputDirectory() {
    return outputDirectory;
}
 
开发者ID:lxxlxx888,项目名称:Reer,代码行数:11,代码来源:TestNGOptions.java

示例13: getDestinationDir

import org.gradle.api.tasks.OutputDirectory; //导入依赖的package包/类
/**
 * Returns the directory to write the HTML report to.
 */
@OutputDirectory
public File getDestinationDir() {
    return destinationDir;
}
 
开发者ID:lxxlxx888,项目名称:Reer,代码行数:8,代码来源:TestReport.java

示例14: getBinResultsDir

import org.gradle.api.tasks.OutputDirectory; //导入依赖的package包/类
/**
 * Returns the root folder for the test results in internal binary format.
 *
 * @return the test result directory, containing the test results in binary format.
 */
@OutputDirectory
@Incubating
public File getBinResultsDir() {
    return binResultsDir;
}
 
开发者ID:lxxlxx888,项目名称:Reer,代码行数:11,代码来源:Test.java

示例15: getObjectFileDir

import org.gradle.api.tasks.OutputDirectory; //导入依赖的package包/类
/**
 * The directory where object files will be generated.
 */
@OutputDirectory
public File getObjectFileDir() {
    return objectFileDir;
}
 
开发者ID:lxxlxx888,项目名称:Reer,代码行数:8,代码来源:AbstractNativeCompileTask.java


注:本文中的org.gradle.api.tasks.OutputDirectory类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。