MavenRepository

data class MavenRepository(val name: String, val url: URI, val credentials: MavenRepository.Credentials? = null) : Serializable(source)

Represents a Maven artifact repository.

Constructors

Link copied to clipboard
constructor(name: String, url: URI, credentials: MavenRepository.Credentials? = null)

Types

Link copied to clipboard
data class Credentials(val username: String, val password: String)

Username/password credentials that can be used to log in to a password-protected remote repository.

Properties

Link copied to clipboard

The credentials for authentication, if any.

Link copied to clipboard

The repository name.

Link copied to clipboard
val url: URI

The base URL of the repository.