public static @Nullable Properties readGradleProperties(@NotNull Path propertiesFile) {
    try (BufferedReader reader = Files.newBufferedReader(propertiesFile, StandardCharsets.ISO_8859_1)) {
      final Properties props = new Properties();
      props.load(reader);
      return props;
    }
    catch (NoSuchFileException ignored) {
    }
    catch (IOException e) {
      GradleLog.LOG.warn(
        String.format("I/O exception on reading gradle properties file at '%s'", propertiesFile.toAbsolutePath()), e);
    }
    return null;
  }
public static @Nullable Properties readGradleProperties(@NotNull Path propertiesFile)