RepositoryConfig

data class RepositoryConfig(val url: String = "", val username: String? = null, val password: String? = null)(source)

Configuration for a single Maven-compatible remote repository.

Used by io.github.skhokhlov.rewriterunner.recipe.RecipeArtifactResolver and io.github.skhokhlov.rewriterunner.lst.DependencyResolutionStage when resolving JARs.

Environment variable placeholders (${VAR_NAME}) in url, username, and password are expanded at load time by ToolConfig.load.

Constructors

Link copied to clipboard
constructor(url: String = "", username: String? = null, password: String? = null)

Properties

Link copied to clipboard

Optional HTTP basic-auth password.

Link copied to clipboard
val url: String

Full URL of the repository (e.g. https://nexus.example.com/repository/maven-public).

Link copied to clipboard

Optional HTTP basic-auth username.