If it uses Java only libraries, maybe you can use the Jython version of RF and package all that into an uber JAR. That may work in theory.
Another option if you that works for you is to package it all into a docker image. Then you just need to spin up an instance of the container to run the test, everything is preconfigured inside.
But you should first try suggestions like Anne's.