gradle-maven-publish-plugin / com.vanniktech.maven.publish.nexus / NexusOptions

NexusOptions

data class NexusOptions

Constructors

<init>

NexusOptions(baseUrl: String, stagingProfile: String?, repositoryUsername: String?, repositoryPassword: String?)

Properties

baseUrl

var baseUrl: String

Base url of the REST API of the nexus instance you are using. Defaults to OSSRH ("https://oss.sonatype.org/service/local/").

repositoryPassword

var repositoryPassword: String?

The username used to access the Nexus REST API. Defaults to the SONATYPE_NEXUS_PASSWORD Gradle property.

repositoryUsername

var repositoryUsername: String?

The username used to access the Nexus REST API. Defaults to the SONATYPE_NEXUS_USERNAME Gradle property.

stagingProfile

var stagingProfile: String?

The groupId associated with your username. Defaults to the GROUP Gradle Property.

Companion Object Functions

fromProject

fun fromProject(project: Project): NexusOptions