Skip to content

Fix Resources

Resolves #447 (closed)

Jar Files

Currently when running ./graldew assemble there are two jar files made: nshmp-haz-v2.jar and nshmp-haz-v2-all.jar.

By default nshmp-haz-v2.jar is a fat jar for running the programs on the command line and created in the jar task. While nshmp-haz-v2-all.jar is also a fat jar created by the shadowJar task.

The shadowJar task, from the Shadow plugin, is packaging the resources from nshmp-lib while the jar task is not.

Updates

There is no need for two separate and same fat jars thus the following is done:

  • Use the Shadow plugin to create the main fat jar file: nshmp-haz-v2.jar which can be used to run the programs on the command line or run the web services.
  • Use the main jar task to create a thin jar file: nshmp-haz-v2-thin.jar

Merge request reports

Loading