code: public Project setProjectAvatar(Object projectIdOrPath, File avatarFile) throws GitLabApiException {
          Response response = putUpload(Response.Status.OK, "avatar", avatarFile, "projects", getProjectIdOrPath(projectIdOrPath));
          return (response.readEntity(Project.class));
      }
docs: Uploads and sets the project avatar for the specified project.
  
  <pre><code>PUT /projects/:id/uploads</code></pre>
  
  @param projectIdOrPath projectIdOrPath the project in the form of an Integer(ID), String(path), or Project instance, required
  @param avatarFile the File instance of the avatar file to upload
  @return the updated Project instance
  @throws GitLabApiException if any exception occurs