ome / omero-gateway-java

Gradle project containing OMERO Java Client Library
https://www.openmicroscopy.org/omero
GNU General Public License v2.0
1 stars 9 forks source link

Bake version number into source. #43

Open mtbc opened 4 years ago

mtbc commented 4 years ago

The current version check relies on the Gateway being packaged with its original MANIFEST.MF which, being intended for use as a library, it may no longer be packaged with, depending on what JAR reassembly, package renaming, uberjar approach, etc. is done by downstream build processes. Given the criticality of the version check, a more robust approach may be warranted. For example, one could apply a Gradle equivalent of https://github.com/ome/omero-downloader/pull/44, perhaps reading a filtered properties file from omero-blitz.