# Class PublishToMavenRepository.PublishSpec

java.lang.Object
org.gradle.api.publish.maven.tasks.PublishToMavenRepository.PublishSpec

Enclosing class:
  `PublishToMavenRepository`

static class PublishToMavenRepository.PublishSpec extends Object

Since:
  1.4

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `PublishSpec(PublishToMavenRepository.RepositorySpec repository, org.gradle.api.publish.maven.internal.publisher.MavenNormalizedPublication publication)`

- ## Method Summary

  ### Methods inherited from class Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### PublishSpec

    public PublishSpec(PublishToMavenRepository.RepositorySpec repository, org.gradle.api.publish.maven.internal.publisher.MavenNormalizedPublication publication)