code: public EmbeddedGobblin distributeJarByClassWithPriority(Class<?> klazz, int priority) {
      String jar = ClassUtil.findContainingJar(klazz);
      if (jar == null) {
        log.warn(String.format("Could not find jar for class %s. This is normal in test runs.", klazz));
        return this;
      }
      return distributeJarWithPriority(jar, priority);
    }
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.