licenser
licenser copied to clipboard
A simple license header manager for Gradle
Can be helpful to get started quickly with Gradle Kotlin
The problem is that in `PreparedCommentHeader` there is a `reader.mark(2048)` call but the `contentStartsWithValidHeaderFormat` check can use a lot more than 2048 since it scans the entire file. Prevent this...
I built my project with Gradle 7.4 today and noticed the following warning for licenser: > Task :checkLicenseMain NO-SOURCE > Relying on FileTrees for ignoring empty directories when using @SkipWhenEmpty...
Add an option to ignore the next line after the license header. I'm not sure if this pr make #36 obsolete, but i think they complement each other well. Sorry,...
This change allows whitespace in the new line below the license header. We would like to switch to licenser, but we have thousands of files that have a few spaces...
Use the whole filename for mapping if the filename does not contain a dot. This is required to support files like Jenkinsfile, Dockerfile or Vagrantfile.
The `BufferedReader` in `PreparedCommentHeader#update()` is initialized with a read-ahead limit of 2048 bytes. If a file is larger than that, the mark will be invalidated while the `update()` method skips...
When using the Gradle configuration cache, the tasks of the Licenser plugin (version 0.6.1) can only be executed once. The second time fails with an error message: Output with error...