Skip to content

Dependencies & Development

Peter Powers edited this page Feb 21, 2019 · 18 revisions

This project loosely adheres to Google Java Style and is informed by Effective Java. All source files and documentation are encoded using UTF-8. Developers should also consider the following:

  • Line lengths:
    • code: 100, but shorter is better.
    • comments: 80, for readability.
  • Use unicode symbols where possible: double μ = 0.4;
  • Use static imports for only the most common utilities and preconditions:
    • java.lang.math
    • com.google.common.base.Preconditions

Dependencies

The following are required to build and run nshmp-haz. Additional testing a code coverage dependencies are listed in the license.

  1. Java 8 JDK (or higher)
  2. Ant
  3. Guava
  4. Gson