mirror of https://github.com/apache/lucene.git
Make checkBrokenLinks cacheable
This commit is contained in:
parent
1a38cac68e
commit
b3e59232f5
|
@ -31,13 +31,17 @@ configure(project(':lucene:documentation')) {
|
|||
check.dependsOn checkBrokenLinks
|
||||
}
|
||||
|
||||
@CacheableTask
|
||||
class 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)
|
||||
@IgnoreEmptyDirectories
|
||||
final DirectoryProperty docsDir = project.objects.directoryProperty()
|
||||
|
||||
@InputFile
|
||||
@PathSensitive(PathSensitivity.RELATIVE)
|
||||
File validationScript
|
||||
|
||||
@OutputFile
|
||||
|
|
Loading…
Reference in New Issue