I am attempting to configure mutliple project jar manifests from the root project. This manifest should contain some dynamic information such as the svn revision number, date time when performing a release. I have an exec task to retrieve the svn revision number and redirected the output to a project property.
I have tried multiple approaches but I seem to be unable to retrieve the property to add to the manifest. The issue I’m having seems to be related to the phases.
The exec task is setup in the configuration phase and the project extra property is assigned in a doLast. However the jar task work appears to be done at the configuration phase and therefore can’t access the variable.
I’ve added a sample gist what I am trying to do here:
Thanks for the help.