public static @Nullable File getTaskArchiveFile(@NotNull AbstractArchiveTask task) {
    if (is51OrBetter) {
      return GradleReflectionUtil.reflectiveGetProperty(task, "getArchiveFile", RegularFile.class).getAsFile();
    }
    return GradleReflectionUtil.reflectiveCall(task, "getArchivePath", File.class);
  }
public static @Nullable File getTaskArchiveFile(@NotNull AbstractArchiveTask task)