Native Libraries
When building a custom module, a native library can be included by packaging it into the JAR file. If you're using Maven or Gradle, this means placing it under src/main/resources. On module startup, you'll then extract it to a temporary directory and call System.load.
If your dependency doesn't accept this method, you can extract it manually to $IGNITION/lib/core/gateway, which is already on java.library.path.
note
Temporary files created when reading the library from the JAR file should use the temp directory from SystemManager::getTempDir (SystemManager). This ends up being $IGNITION/temp.
It is also recommended to call deleteOnExit with your files.