From 2ff2d52509da0047a832c9de6c68d61ab9fe086f Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Wed, 27 May 2020 20:21:08 +0100 Subject: [PATCH] Ignore irrelevant changes to StarterMetadata's dependencies Closes gh-21594 --- .../springframework/boot/build/starters/StarterMetadata.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/buildSrc/src/main/java/org/springframework/boot/build/starters/StarterMetadata.java b/buildSrc/src/main/java/org/springframework/boot/build/starters/StarterMetadata.java index 545d7c7392..48370dfed2 100644 --- a/buildSrc/src/main/java/org/springframework/boot/build/starters/StarterMetadata.java +++ b/buildSrc/src/main/java/org/springframework/boot/build/starters/StarterMetadata.java @@ -28,7 +28,7 @@ import org.gradle.api.artifacts.Configuration; import org.gradle.api.artifacts.ResolvedArtifact; import org.gradle.api.file.FileCollection; import org.gradle.api.internal.AbstractTask; -import org.gradle.api.tasks.InputFiles; +import org.gradle.api.tasks.Classpath; import org.gradle.api.tasks.OutputFile; import org.gradle.api.tasks.TaskAction; @@ -50,7 +50,7 @@ public class StarterMetadata extends AbstractTask { getInputs().property("description", (Callable) () -> getProject().getDescription()); } - @InputFiles + @Classpath public FileCollection getDependencies() { return this.dependencies; }