Skip to content

Commit

Permalink
Save the configuration after migration is done (#485)
Browse files Browse the repository at this point in the history
  • Loading branch information
welandaz authored Sep 13, 2024
1 parent 70140b2 commit f97f96e
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -648,6 +648,8 @@ protected Object readResolve() throws IOException {

setAccessKeyCredentialId(stringCredentials.getId());
accessKey = null;

save();
}
if (gradlePluginRepositoryUsername != null && gradlePluginRepositoryPassword != null && gradlePluginRepositoryCredentialId == null) {
StandardUsernamePasswordCredentials standardUsernameCredentials = new UsernamePasswordCredentialsImpl(
Expand All @@ -664,7 +666,10 @@ protected Object readResolve() throws IOException {
setGradlePluginRepositoryCredentialId(standardUsernameCredentials.getId());
gradlePluginRepositoryUsername = null;
gradlePluginRepositoryPassword = null;

save();
}

return this;
}

Expand Down

0 comments on commit f97f96e

Please sign in to comment.