Interface PublicationArtifact

All Superinterfaces:
Buildable
All Known Subinterfaces:
IvyArtifact, MavenArtifact

public interface PublicationArtifact extends Buildable
An artifact published as part of a Publication.
Since:
4.8
  • Method Details

    • getFile

      Provider<RegularFile> getFile()
      The actual file contents to publish.
    • builtBy

      void builtBy(Object... tasks)
      Registers some tasks which build this artifact.
      Parameters:
      tasks - The tasks. These are evaluated as per Task.dependsOn(Object...).