is it possible to check whether file/folder is modified in sourceGenerators task

80 Views Asked by At

I am using sbt sourceGenerators task for code generation. i want to skip all files/folders that are unchanged during processing.How can i check if a particular file/folder inside src/main/scala is changed or not ...

1

There are 1 best solutions below

0
On

this is usually done using sbt.util.Tracked, there are some examples in sbt itself