mirror of https://github.com/apache/lucene.git
Make ratTask cacheable
This commit is contained in:
parent
b3e59232f5
commit
d44e03b8b0
|
@ -124,8 +124,12 @@ allprojects {
|
||||||
/**
|
/**
|
||||||
* An Apache RAT adapter that validates whether files contain acceptable licenses.
|
* An Apache RAT adapter that validates whether files contain acceptable licenses.
|
||||||
*/
|
*/
|
||||||
|
@CacheableTask
|
||||||
class RatTask extends DefaultTask {
|
class RatTask extends DefaultTask {
|
||||||
|
|
||||||
@InputFiles
|
@InputFiles
|
||||||
|
@PathSensitive(PathSensitivity.RELATIVE)
|
||||||
|
@IgnoreEmptyDirectories
|
||||||
final ListProperty<ConfigurableFileTree> inputFileTrees = project.objects.listProperty(ConfigurableFileTree)
|
final ListProperty<ConfigurableFileTree> inputFileTrees = project.objects.listProperty(ConfigurableFileTree)
|
||||||
|
|
||||||
@OutputFile
|
@OutputFile
|
||||||
|
|
Loading…
Reference in New Issue