gradle-info-plugin
gradle-info-plugin copied to clipboard
Info properties incompatible as manifest replacement
I am trying to use the info properties as a drop in replacement for the Manifest. Unfortunately the *.properties file is changed to use = instead of : for the separator and does not append a new line at the end of file. What was the intended use case for this file? Was it for commons-config/archaius.
java.io.IOException: invalid header field
at java.util.jar.Attributes.read(Attributes.java:406) ~[na:1.7.0_79]
at java.util.jar.Manifest.read(Manifest.java:199) ~[na:1.7.0_79]
at java.util.jar.Manifest.<init>(Manifest.java:69) ~[na:1.7.0_79]
[1] https://github.com/nebula-plugins/gradle-info-plugin/blob/master/src/main/groovy/nebula/plugin/info/reporting/InfoPropertiesFile.groovy#L51