Repository

data class Repository(var name: String, val url: Provider<URI>, val user: Property<String>, val password: Property<String>, val nexusUrl: String? = null, val nexusTimeOut: Duration = Duration.ofMinutes(1), val nexusConnectTimeOut: Duration = Duration.ofMinutes(1))

A class modelling the concept of target Maven repository. Includes a name, an url, and methods to compute user and password given a Project. If the repository is managed with Sonatype Nexus, then the Nexus uri should be provided as nexusUrl. Time outs can be set with nexusTimeOut and nexusConnectTimeOut.

Constructors

Link copied to clipboard
constructor(name: String, url: Property<String>, user: Property<String>, password: Property<String>, nexusUrl: String? = null, nexusTimeOut: Duration = Duration.ofMinutes(1), nexusConnectTimeOut: Duration = Duration.ofMinutes(1))
constructor(name: String, url: Provider<URI>, user: Property<String>, password: Property<String>, nexusUrl: String? = null, nexusTimeOut: Duration = Duration.ofMinutes(1), nexusConnectTimeOut: Duration = Duration.ofMinutes(1))

Types

Link copied to clipboard
object Companion

Constants and utility functions.

Properties

Link copied to clipboard

Same as name, but capitalized.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val nexusUrl: String? = null
Link copied to clipboard
val password: Property<String>
Link copied to clipboard
val url: Provider<URI>
Link copied to clipboard
val user: Property<String>

Functions

Link copied to clipboard
open override fun toString(): String