code: protected DependencyResolver getJarResolver() {
          if (dependencyResolver == null) {
              if (Boolean.getBoolean("robolectric.offline")) {
                  String dependencyDir = System.getProperty("robolectric.dependency.dir", ".");
                  dependencyResolver = new LocalDependencyResolver(new File(dependencyDir));
              } else {
                  File cacheDir = new File(new File(System.getProperty("java.io.tmpdir")), "robolectric");
                  cacheDir.mkdir();
  
                  if (cacheDir.exists()) {
                      Logger.info("Dependency cache location: %s", cacheDir.getAbsolutePath());
                      dependencyResolver = new CachedDependencyResolver(new MavenDependencyResolver(), cacheDir, 60 * 60 * 24 * 1000);
                  } else {
                      dependencyResolver = new MavenDependencyResolver();
                  }
              }
          }
  
          return dependencyResolver;
      }
docs: private void assureTestLifecycle(SdkEnvironment sdkEnvironment) {