code: @Override
    public AppResponse postNewApp(WebResource resource, ResourcePath<Apps> appsResponsePath,
        AppDetailsRequest appsRequest, File file) {
      try {
        FormDataMultiPart multiPart = new FormDataMultiPart();
  
        multiPart.bodyPart(new FileDataBodyPart("file", file));
        multiPart.bodyPart(new FormDataBodyPart("data", appsRequest, MediaType.APPLICATION_JSON_TYPE));
        return resource.path(appsResponsePath.getPath()).type(MediaType.MULTIPART_FORM_DATA_TYPE).post(AppResponse.class,
            multiPart);
      } catch (UniformInterfaceException e) {
        throw new ApiException(e.getResponse().getEntity(ErrorResponse.class), e);
      }
    }
docs: /* (non-Javadoc)
  @see com.github.chrisprice.phonegapbuild.api.managers.AppsManager#postNewApp(com.sun.jersey.api.client.WebResource, com.github.chrisprice.phonegapbuild.api.data.ResourcePath, com.github.chrisprice.phonegapbuild.api.data.apps.AppDetailsRequest, java.io.File)