Allow to configure the Gradle project without knowledge about credentials
Opened this issue · 0 comments
sschuberth commented
Currently, just configuring (not executing) the Gradle build already requires credentials for publishing, as these are evaluated eagerly during configuration phase, see
Lines 149 to 152 in 258f877
and
Lines 157 to 160 in 258f877
To avoid that, it's probably better to follow the best practice of using the PasswordCredentials
class with the built-in mySecureRepositoryUsername
/ mySecureRepositoryPassword
properties.