private static File jarFile(PersistentCache cache) {
   return new File(cache.getBaseDir(), "gradle-worker.jar");
 }
 public File getCacheDir() {
   return cache.getBaseDir();
 }