private static @Nullable String initializeGradleRepositoryPath() {
    String gradleUserHomePath = System.getenv(GRADLE_USER_HOME);
    String gradleUserHome = gradleUserHomePath == null ? SystemProperties.getUserHome() + File.separator + ".gradle" : gradleUserHomePath;

    if (FileUtil.exists(gradleUserHome)) {
      return PathRelativizerService.normalizePath(gradleUserHome);
    }
    return null;
  }
private static @Nullable String initializeGradleRepositoryPath()