Package net.kyori.indra.gradle
Class IndraPluginPublishingExtensionImpl
- java.lang.Object
-
- net.kyori.indra.gradle.IndraPluginPublishingExtensionImpl
-
- All Implemented Interfaces:
IndraPluginPublishingExtension
public class IndraPluginPublishingExtensionImpl extends Object implements IndraPluginPublishingExtension
-
-
Constructor Summary
Constructors Constructor Description IndraPluginPublishingExtensionImpl(org.gradle.api.model.ObjectFactory objects, org.gradle.plugin.devel.GradlePluginDevelopmentExtension publishingExtension, com.gradle.publish.PluginBundleExtension pluginBundleExtension)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.gradle.api.provider.ListProperty<String>bundleTags()voidplugin(String id, String mainClass, String displayName, @Nullable String description, @Nullable List<String> tags)Register a plugin to have marker validated, and to be deployed to the Gradle Plugin Portal.org.gradle.api.provider.Property<String>pluginIdBase()A property providing the base id that indra-declared plugin ids are relative to.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.kyori.indra.gradle.IndraPluginPublishingExtension
bundleTags, plugin, plugin, pluginIdBase
-
-
-
-
Method Detail
-
bundleTags
public org.gradle.api.provider.ListProperty<String> bundleTags()
- Specified by:
bundleTagsin interfaceIndraPluginPublishingExtension
-
pluginIdBase
public org.gradle.api.provider.Property<String> pluginIdBase()
Description copied from interface:IndraPluginPublishingExtensionA property providing the base id that indra-declared plugin ids are relative to.- Specified by:
pluginIdBasein interfaceIndraPluginPublishingExtension- Returns:
- the base for relative plugin ids
-
plugin
public void plugin(String id, String mainClass, String displayName, @Nullable String description, @Nullable List<String> tags)
Description copied from interface:IndraPluginPublishingExtensionRegister a plugin to have marker validated, and to be deployed to the Gradle Plugin Portal.The id is relative to
IndraPluginPublishingExtension.pluginIdBase(), which is by default the project's group id. Main class is absolute.If no tags are set on the global plugin bundle, then the first provided set of tags will be applied.
- Specified by:
pluginin interfaceIndraPluginPublishingExtension- Parameters:
id- the relative plugin idmainClass- the fully qualified name of the plugin classdisplayName- the display name for the plugin on the Gradle Plugin Portaldescription- the plugin descriptiontags- tags used for the plugin on the plugin portal
-
-