public void setServiceDirectoryPath(@Nullable String newPath) {
    String myServiceDirectoryPath = GradleLocalSettings.getInstance(getProject()).getGradleUserHome();
    if (!Objects.equals(myServiceDirectoryPath, newPath)) {
      GradleLocalSettings.getInstance(getProject()).setGradleUserHome(newPath);
      getPublisher().onServiceDirectoryPathChange(myServiceDirectoryPath, newPath);
    }
  }
public void setServiceDirectoryPath(@Nullable String newPath)