Skip to content

Commit

Permalink
Marking the Getters in ArtifactRegistryPasswordCredentials with @input
Browse files Browse the repository at this point in the history
 (#47)
  • Loading branch information
abeytom07 authored Jul 12, 2021
1 parent c959d88 commit d419bd3
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
import org.gradle.api.invocation.Gradle;
import org.gradle.api.provider.Property;
import org.gradle.api.publish.PublishingExtension;
import org.gradle.api.tasks.Input;
import org.gradle.internal.authentication.DefaultBasicAuthentication;
import org.gradle.plugin.management.PluginManagementSpec;
import org.slf4j.Logger;
Expand All @@ -54,11 +55,13 @@ static class ArtifactRegistryPasswordCredentials implements PasswordCredentials
this.password = password;
}

@Input
@Override
public String getUsername() {
return username;
}

@Input
@Override
public String getPassword() {
return password;
Expand Down

0 comments on commit d419bd3

Please sign in to comment.