In order to build the JAR file, you need to set up some GPG keys.

  1. Install GnuPG
  2. Create a key with the command gpg --gen-key
  3. You will see output like this:

    gpg: /home/mcasperson/.gnupg/trustdb.gpg: trustdb created
    gpg: key 1144E38E marked as ultimately trusted
    public and secret key created and signed.
    gpg: checking the trustdb
    gpg: 3 marginal(s) needed, 1 complete(s) needed, PGP trust model
    gpg: depth: 0  valid:   1  signed:   0  trust: 0-, 0q, 0n, 0m, 0f, 1u
    pub   2048R/1144E38E 2017-08-05
          Key fingerprint = 41B2 286F 622C B89B F615  3734 CBFB 584B 1144 E38E
    uid                  Matthew Casperson <>
    sub   2048R/E6570800 2017-08-05

    The key ID in this example is 1144E38E.

  4. Add the details of the key to the file ~/.gradle/


    Windows users would have the key ring file in a folder like C:/Users/Matthew/AppData/Roaming/gnupg/secring.gpg

Building the JAR also requires that you have a Sonatype username and password added to the ~/.gradle/ file. You can find details on creating a SonaType account here.

Note that unless you intend to publish the file to Sonatype OSS Nexus, you don't need an actual username and password, and can just add dummy values.


So your complete ~/.gradle/ will look something like this:


Run the following command to build Iridium:

./gradlew clean shadowJar

Travis CI

Iridium is also built and tested by Travis CI. The current state is: Build Status

Test code coverage is tracked by CodeCov: codecov

results matching ""

    No results matching ""