Skip to content

Commit

Permalink
fix(publishing): add @input annotation to getAptImportTimeoutSeconds (#…
Browse files Browse the repository at this point in the history
…200)

to remove error:

A problem was found with the configuration of task ':halyard-web:publishDebToArtifactRegistry' (type 'ArtifactRegistryDebPublishTask').
  - In plugin 'com.netflix.spinnaker.gradle.baseproject.SpinnakerBaseProjectConventionsPlugin' type 'com.netflix.spinnaker.gradle.publishing.artifactregistry.ArtifactRegistryDebPublishTask' property 'aptImportTimeoutSeconds' is missing an input or output annotation.

    Reason: A property without annotation isn't considered during up-to-date checking.

    Possible solutions:
      1. Add an input or output annotation.
      2. Mark it as @internal.

    Please refer to https://docs.gradle.org/7.6.1/userguide/validation_problems.html#missing_annotation for more details about this problem.
  • Loading branch information
dbyron-sf authored Jul 18, 2023
1 parent d0dcf1d commit 7d0c9ed
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ public void setRepository(Provider<String> repository) {
this.repository = repository;
}

@Input
public Provider<Integer> getAptImportTimeoutSeconds() {
return aptImportTimeoutSeconds;
}
Expand Down

0 comments on commit 7d0c9ed

Please sign in to comment.