Apache Lucene open-source search software
Make checkBrokenLinks cacheable
Jerome Prinetb3e59232f5ad
diff --git a/gradle/documentation/check-broken-links.gradle b/gradle/documentation/check-broken-links.gradleindex 235bca06fbb..844380cd981 100644--- a/gradle/documentation/check-broken-links.gradle+++ b/gradle/documentation/check-broken-links.gradle@@ -31,13 +31,17 @@ configure(project(':lucene:documentation')) {check.dependsOn checkBrokenLinks}+@CacheableTaskclass CheckBrokenLinksTask extends DefaultTask {// wraps input directory location in DirectoryProperty so as to lazily evaluate 'docroot' property// (see gradle/documentation/documentation.gradle)@InputDirectory+ @PathSensitive(PathSensitivity.RELATIVE)+ @IgnoreEmptyDirectoriesfinal DirectoryProperty docsDir = project.objects.directoryProperty()@InputFile+ @PathSensitive(PathSensitivity.RELATIVE)File validationScript@OutputFile