Klasse PluginDeclaration

java.lang.Object
org.gradle.plugin.devel.PluginDeclaration
Alle implementierten Schnittstellen:
Named

public abstract class PluginDeclaration extends Object implements Named
Describes a Gradle plugin under development.
Seit:
2.14
Siehe auch:
  • Konstruktordetails

    • PluginDeclaration

      public PluginDeclaration(String name)
  • Methodendetails

    • getName

      public String getName()
      Beschreibung aus Schnittstelle kopiert: Named
      The object's name.

      Must be constant for the life of the object.

      Angegeben von:
      getName in Schnittstelle Named
      Gibt zurück:
      The name. Never null.
    • getId

      public String getId()
    • setId

      public void setId(String id)
    • getImplementationClass

      public String getImplementationClass()
    • setImplementationClass

      public void setImplementationClass(String implementationClass)
    • getDisplayName

      public String getDisplayName()
      Returns the display name for this plugin declaration.

      The display name is used when publishing this plugin to repositories that support human-readable artifact names.

      Seit:
      4.10
    • setDisplayName

      public void setDisplayName(String displayName)
      Sets the display name for this plugin declaration.

      The display name is used when publishing this plugin to repositories that support human-readable artifact names.

      Seit:
      4.10
    • getDescription

      public String getDescription()
      Returns the description for this plugin declaration.

      The description is used when publishing this plugin to repositories that support providing descriptions for artifacts.

      Seit:
      4.10
    • setDescription

      public void setDescription(String description)
      Sets the description for this plugin declaration.

      The description is used when publishing this plugin to repositories that support providing descriptions for artifacts.

      Seit:
      4.10
    • getTags

      public abstract SetProperty<String> getTags()
      Returns the tags property for this plugin declaration.

      Tags are used when publishing this plugin to repositories that support tagging plugins, for example the Gradle Plugin Portal.

      Seit:
      7.6