gradle-info-plugin icon indicating copy to clipboard operation
gradle-info-plugin copied to clipboard

Info properties incompatible as manifest replacement

Open mattnelson opened this issue 9 years ago • 0 comments

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

mattnelson avatar Apr 28 '16 01:04 mattnelson