api / org.gradle.api.credentials / PasswordCredentials / getPassword

getPassword

abstract fun getPassword(): String

Returns the password to use when authenticating.

Return
The password. May be null.