本文整理了Java中org.gradle.api.tasks.javadoc.Javadoc.setDescription()
方法的一些代码示例,展示了Javadoc.setDescription()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Javadoc.setDescription()
方法的具体详情如下:
包路径:org.gradle.api.tasks.javadoc.Javadoc
类名称:Javadoc
方法名:setDescription
暂无
代码示例来源:origin: gradle.plugin.com.liferay/gradle-plugins-app-javadoc-builder
project, APP_JAVADOC_TASK_NAME, Javadoc.class);
javadoc.setDescription(
"Generates Javadoc API documentation for the app.");
javadoc.setGroup(JavaBasePlugin.DOCUMENTATION_GROUP);
代码示例来源:origin: gradle.plugin.com.digitalascent/digitalascent-gradle-project
private void configureJavaDoc(Project project) {
final Action<Javadoc> action = task -> {
task.setDescription("Generates project-level javadoc for use in -javadoc jar");
StandardJavadocDocletOptions options = (StandardJavadocDocletOptions) task.getOptions();
options.setMemberLevel(JavadocMemberLevel.PROTECTED);
options.setAuthor(false);
options.setHeader(project.getName());
options.links("http://docs.oracle.com/javase/8/docs/api/","http://docs.oracle.com/javaee/7/api/");
options.addStringOption("Xdoclint:none", "-quiet");
// Suppress warnings due to cross-module @see and @link references.
project.getLogging().captureStandardError(LogLevel.INFO);
project.getLogging().captureStandardOutput(LogLevel.INFO);
};
final TaskCollection<Javadoc> javadocTasks = project.getTasks().withType(Javadoc.class);
javadocTasks.all(action);
}
代码示例来源:origin: io.freefair.gradle/android-gradle-plugins
javadoc.setDescription("Generate Javadoc for the " + variant.getName() + " variant");
javadoc.setGroup(JavaBasePlugin.DOCUMENTATION_GROUP);
内容来源于网络,如有侵权,请联系作者删除!