Skip to content

Commit

Permalink
Fix gradle task input annotation warnings (#385)
Browse files Browse the repository at this point in the history
  • Loading branch information
TadCordle authored Jun 6, 2018
1 parent c478c21 commit 3871960
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
import org.gradle.api.Action;
import org.gradle.api.model.ObjectFactory;
import org.gradle.api.tasks.Input;
import org.gradle.api.tasks.Internal;
import org.gradle.api.tasks.Nested;
import org.gradle.api.tasks.Optional;

Expand Down Expand Up @@ -78,6 +79,7 @@ public void auth(Action<? super AuthConfiguration> action) {
}

/** Converts the {@link ImageConfiguration} to an {@link Authorization}. */
@Internal
@Nullable
Authorization getImageAuthorization() {
if (auth.getUsername() == null || auth.getPassword() == null) {
Expand Down

0 comments on commit 3871960

Please sign in to comment.