PublishToMavenRepository.RepositorySpec.CredentialsSpec (Gradle API 9.5.1)
Description: declaration: package: org.gradle.api.publish.maven.tasks, class: PublishToMavenRepository, class: RepositorySpec, class: CredentialsSpec

Package org.gradle.api.publish.maven.tasks

# Class PublishToMavenRepository.RepositorySpec.CredentialsSpec

java.lang.Object
org.gradle.api.publish.maven.tasks.PublishToMavenRepository.RepositorySpec.CredentialsSpec

Enclosing class:
  `PublishToMavenRepository.RepositorySpec`

static class PublishToMavenRepository.RepositorySpec.CredentialsSpec extends Object

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `getIdentity()`
  `Class<? extends Credentials>`
  `getType()`
  `static PublishToMavenRepository.RepositorySpec.CredentialsSpec`
  `of(String identity, Credentials credentials)`

  ### Methods inherited from class java.lang.Object

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

- ## Method Details

  - ### of

    public static PublishToMavenRepository.RepositorySpec.CredentialsSpec of(String identity, Credentials credentials)

  - ### getType

    public Class<? extends Credentials> getType()

  - ### getIdentity

    public String getIdentity()