sbt / sbt-header

sbt-header is an sbt plugin for creating file headers, e.g. copyright headers
Apache License 2.0
186 stars 55 forks source link

`headerCreateAll` misses some files which are covered by `headerCheckAll` #321

Open catap opened 8 months ago

catap commented 8 months ago

I'm updating a license header in project for more than 200 files.

sbt headerCreateAll misses some of files, and sbt headerCheckAll fails on that files.

catap commented 8 months ago

Interesting, removing all copyrigth headers from the first file in the list, ublock it.

sirthias commented 4 months ago

Same issue here. This is quite annoying in a large project with many sub-projects.

leviramsey commented 3 months ago

I suspect this is due to the Create tasks being incremental. An sbt clean before headerCreateAll seems to address this for me.