# Class PublishToIvyRepository.RepositorySpec

java.lang.Object
org.gradle.api.publish.ivy.tasks.PublishToIvyRepository.RepositorySpec

Direct Known Subclasses:
  `PublishToIvyRepository.RepositorySpec.Configured, PublishToIvyRepository.RepositorySpec.DefaultRepositorySpec`

Enclosing class:
  `PublishToIvyRepository`

abstract static class PublishToIvyRepository.RepositorySpec extends Object

Since:
  1.3

- ## Nested Class Summary

  Nested Classes
  Modifier and Type
  Class
  Description
  `(package private) static class`
  `PublishToIvyRepository.RepositorySpec.Configured`
  `(package private) static class`
  `PublishToIvyRepository.RepositorySpec.CredentialsSpec`
  `(package private) static class`
  `PublishToIvyRepository.RepositorySpec.DefaultRepositorySpec`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `RepositorySpec()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `(package private) abstract IvyArtifactRepository`
  `get(org.gradle.internal.service.ServiceRegistry services)`
  `(package private) static PublishToIvyRepository.RepositorySpec`
  `of(org.gradle.api.internal.artifacts.repositories.DefaultIvyArtifactRepository repository)`

  ### Methods inherited from class Object

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

- ## Constructor Details

  - ### RepositorySpec

    RepositorySpec()

- ## Method Details

  - ### of

    static PublishToIvyRepository.RepositorySpec of(org.gradle.api.internal.artifacts.repositories.DefaultIvyArtifactRepository repository)

  - ### get

    abstract IvyArtifactRepository get(org.gradle.internal.service.ServiceRegistry services)