repositoryWithAuth

fun repositoryWithAuth(id: String, url: String, userEnvVar: String, passEnvVar: String)

DSL: repositoryWithAuth("private", "https://repo.example.com/maven/", "REPO_USER", "REPO_PASS")

IMPORTANT: only the environment variable names are written into the jar.