Package net.kyori.indra.crossdoc
Class CrossdocPlugin
java.lang.Object
net.kyori.indra.crossdoc.CrossdocPlugin
- All Implemented Interfaces:
net.kyori.mammoth.ProjectPlugin,org.gradle.api.Plugin<org.gradle.api.Project>
Generate offline links to Javadoc for other projects within the same multi-module build.
This plugin currently only applies to the Javadoc published by the main source set, since conventions for alternate publications are unclear.
Behavior when this plugin is only applied to some but not all projects with published Javadoc within a single build is undefined.
- Since:
- 2.1.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringName for the main source setCopyJavadoctask.static final StringThe name of the extension created on a project to configure this plugin.static final StringName for the main source setGenerateOfflineLinkstask.static final StringThe configuration used for resolving projects for javadoc linking. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidapply(@NotNull org.gradle.api.Project project, @NotNull org.gradle.api.plugins.PluginContainer plugins, @NotNull org.gradle.api.plugins.ExtensionContainer extensions, @NotNull org.gradle.api.tasks.TaskContainer tasks) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.kyori.mammoth.ProjectPlugin
apply, apply, minimumGradleVersion
-
Field Details
-
GENERATE_OFFLINE_LINKS_TASK_NAME
Name for the main source setGenerateOfflineLinkstask.- Since:
- 2.1.0
- See Also:
-
COPY_JAVADOC_TASK_NAME
Name for the main source setCopyJavadoctask.- Since:
- 2.1.0
- See Also:
-
OFFLINE_LINKED_JAVADOC_CONFIGURATION_NAME
The configuration used for resolving projects for javadoc linking.- Since:
- 2.1.0
- See Also:
-
EXTENSION_NAME
The name of the extension created on a project to configure this plugin.- Since:
- 2.1.0
- See Also:
-
-
Constructor Details
-
CrossdocPlugin
public CrossdocPlugin()
-
-
Method Details
-
apply
public void apply(@NotNull @NotNull org.gradle.api.Project project, @NotNull @NotNull org.gradle.api.plugins.PluginContainer plugins, @NotNull @NotNull org.gradle.api.plugins.ExtensionContainer extensions, @NotNull @NotNull org.gradle.api.tasks.TaskContainer tasks) - Specified by:
applyin interfacenet.kyori.mammoth.ProjectPlugin
-