Schnittstelle ConfigurablePublishArtifact

Alle Superschnittstellen:
Buildable, PublishArtifact

public interface ConfigurablePublishArtifact extends PublishArtifact
A PublishArtifact whose properties can be modified.
  • Methodendetails

    • setName

      void setName(String name)
      Sets the name of this artifact.
      Parameter:
      name - The name. Should not be null.
    • setExtension

      void setExtension(String extension)
      Sets the extension of this artifact.
      Parameter:
      extension - The extension. Should not be null.
    • setType

      void setType(String type)
      Sets the type of this artifact.
      Parameter:
      type - The type. Should not be null.
    • setClassifier

      void setClassifier(@Nullable String classifier)
      Sets the classifier of this artifact.
      Parameter:
      classifier - The classifier. May be null.
    • builtBy

      Registers some tasks which build this artifact.
      Parameter:
      tasks - The tasks. These are evaluated as per Task.dependsOn(Object...).
      Gibt zurück:
      this