Skip to content

Commit

Permalink
Save the configuration after migration is done
Browse files Browse the repository at this point in the history
  • Loading branch information
welandaz committed Sep 13, 2024
1 parent 70140b2 commit 3fa3403
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 3fa3403

Please sign in to comment.