Configurations are filecollections
@@ -28,7 +28,7 @@ import java.util.stream.Collectors;
import org.gradle.api.DefaultTask;
import org.gradle.api.artifacts.Configuration;
import org.gradle.api.artifacts.ModuleVersionIdentifier;
-import org.gradle.api.tasks.Input;
+import org.gradle.api.tasks.InputFiles;
import org.gradle.api.tasks.OutputFile;
import org.gradle.api.tasks.TaskAction;
@@ -41,7 +41,7 @@ public class CheckClassUniquenessTask extends DefaultTask {
setDescription("Checks that the given configuration contains no identically named classes.");
}
- @Input
+ @InputFiles
public final Configuration getConfiguration() {
return configuration;
}
