From 7d0c9ed30e6eef70da1238cf5c01c67d326c32cc Mon Sep 17 00:00:00 2001 From: David Byron <82477955+dbyron-sf@users.noreply.github.com> Date: Tue, 18 Jul 2023 14:12:52 -0700 Subject: [PATCH] fix(publishing): add @Input annotation to getAptImportTimeoutSeconds (#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. --- .../artifactregistry/ArtifactRegistryDebPublishTask.java | 1 + 1 file changed, 1 insertion(+) diff --git a/spinnaker-project-plugin/src/main/groovy/com/netflix/spinnaker/gradle/publishing/artifactregistry/ArtifactRegistryDebPublishTask.java b/spinnaker-project-plugin/src/main/groovy/com/netflix/spinnaker/gradle/publishing/artifactregistry/ArtifactRegistryDebPublishTask.java index c2720621..22904e43 100644 --- a/spinnaker-project-plugin/src/main/groovy/com/netflix/spinnaker/gradle/publishing/artifactregistry/ArtifactRegistryDebPublishTask.java +++ b/spinnaker-project-plugin/src/main/groovy/com/netflix/spinnaker/gradle/publishing/artifactregistry/ArtifactRegistryDebPublishTask.java @@ -82,6 +82,7 @@ public void setRepository(Provider repository) { this.repository = repository; } + @Input public Provider getAptImportTimeoutSeconds() { return aptImportTimeoutSeconds; }