To build this into a jar run gradlew jar Three of the options that this program requires could be passed as environment variables: --accounts-file-path as ACC_FILE_PATH --passwords-file-path as PASS_FILE_PATH --copy-command as COPY_COMMAND