public static @NotNull URI getWrapperDistributionUri(@NotNull GradleVersion gradleVersion) {
    var distributionSource = gradleVersion.isSnapshot() ?
                             "https://services.gradle.org/distributions-snapshots" :
                             "https://services.gradle.org/distributions";
    try {
      return new URI(String.format("%s/gradle-%s-bin.zip", distributionSource, gradleVersion.getVersion()));
    }
    catch (URISyntaxException e) {
      throw new ExternalSystemException(e);
    }
  }
public static @NotNull URI getWrapperDistributionUri(@NotNull GradleVersion gradleVersion)