api / org.gradle.api.credentials / PasswordCredentials / setPassword

setPassword

abstract fun setPassword(password: String): Unit

Sets the password to use when authenticating.

Parameters

password - The password. May be null.