Make ratTask cacheable

This commit is contained in:
Jerome Prinet 2021-10-14 14:52:42 +02:00 committed by Dawid Weiss
parent b3e59232f5
commit d44e03b8b0
1 changed files with 4 additions and 0 deletions

View File

@ -124,8 +124,12 @@ allprojects {
/**
* An Apache RAT adapter that validates whether files contain acceptable licenses.
*/
@CacheableTask
class RatTask extends DefaultTask {
@InputFiles
@PathSensitive(PathSensitivity.RELATIVE)
@IgnoreEmptyDirectories
final ListProperty<ConfigurableFileTree> inputFileTrees = project.objects.listProperty(ConfigurableFileTree)
@OutputFile