api / org.gradle.api.artifacts.repositories / PasswordCredentials / setPassword

setPassword

abstract fun setPassword(password: String): Unit

Overrides PasswordCredentials.setPassword

Sets the password to use when authenticating to this repository.

Parameters

password - The password. May be null.