If /usr/local/bin is not part of PATH, the gradle call will fail.
since line 43 of exhibitor::gradle hardcodes '/usr/local/bin/gradle', I believe we should explicitly set it in the exhibitor::_exhibitor_build command also, so we do not need to additionally modify $PATH when necessary.
specifically using sh to run the command avoids some permission issues on hardened systems, as well (CIS, for instance).
If /usr/local/bin is not part of PATH, the gradle call will fail.
since line 43 of exhibitor::gradle hardcodes '/usr/local/bin/gradle', I believe we should explicitly set it in the exhibitor::_exhibitor_build command also, so we do not need to additionally modify $PATH when necessary.
specifically using sh to run the command avoids some permission issues on hardened systems, as well (CIS, for instance).