code: public synchronized EmbeddedGobblin distributeJarWithPriority(String jarPath, int priority) {
      if (this.distributedJars.containsKey(jarPath)) {
        this.distributedJars.put(jarPath, Math.min(priority, this.distributedJars.get(jarPath)));
      } else {
        this.distributedJars.put(jarPath, priority);
      }
      return this;
    }
docs: Specify that the input jar should be added to workers' classpath on distributed mode. Jars with lower priority value
  will appear first in the classpath. Default priority is 0.