The newer version of the license-maven-plugin (http://code.mycila.com/license-maven-plugin/) supports adding per-document properties.
I am specifying looking to be able to add the file name to the header.
I was considering opening a PR with this change, but I was thinking though that the better way to implement this is to add a Closure that would allow a per document property configuration.
The newer version of the license-maven-plugin (http://code.mycila.com/license-maven-plugin/) supports adding per-document properties. I am specifying looking to be able to add the file name to the header.
The following commit adds the
file.name
property to each header. https://github.com/dbathgate/license-gradle-plugin/commit/820920e4bab4296adbfbc905be9389451b383d46I was considering opening a PR with this change, but I was thinking though that the better way to implement this is to add a Closure that would allow a per document property configuration.
Example: