Apache Lucene open-source search software
Make ratTask cacheable
Jerome Prinetd44e03b8b0b5
diff --git a/gradle/validation/rat-sources.gradle b/gradle/validation/rat-sources.gradleindex 0f9dff1059e..0dd0fbbfe8e 100644--- a/gradle/validation/rat-sources.gradle+++ b/gradle/validation/rat-sources.gradle@@ -124,8 +124,12 @@ allprojects {/*** An Apache RAT adapter that validates whether files contain acceptable licenses.*/+@CacheableTaskclass RatTask extends DefaultTask {+@InputFiles+ @PathSensitive(PathSensitivity.RELATIVE)+ @IgnoreEmptyDirectoriesfinal ListProperty<ConfigurableFileTree> inputFileTrees = project.objects.listProperty(ConfigurableFileTree)@OutputFile