Commit b6e06006 authored by Greg Messner's avatar Greg Messner
Browse files

Updated for 4.7.2.

parent 5a0909de
...@@ -11,7 +11,7 @@ To utilize the GitLab API for Java in your project, simply add the following dep ...@@ -11,7 +11,7 @@ To utilize the GitLab API for Java in your project, simply add the following dep
```java ```java
dependencies { dependencies {
... ...
compile group: 'org.gitlab4j', name: 'gitlab4j-api', version: '4.7.1' compile group: 'org.gitlab4j', name: 'gitlab4j-api', version: '4.7.2'
} }
``` ```
...@@ -20,7 +20,7 @@ dependencies { ...@@ -20,7 +20,7 @@ dependencies {
<dependency> <dependency>
<groupId>org.gitlab4j</groupId> <groupId>org.gitlab4j</groupId>
<artifactId>gitlab4j-api</artifactId> <artifactId>gitlab4j-api</artifactId>
<version>4.7.1</version> <version>4.7.2</version>
</dependency> </dependency>
``` ```
...@@ -43,6 +43,9 @@ You can also login to your GitLab server with username, and password: ...@@ -43,6 +43,9 @@ You can also login to your GitLab server with username, and password:
GitLabApi gitLabApi = GitLabApi.login("http://your.gitlab.server.com", "your-username", "your-password"); GitLabApi gitLabApi = GitLabApi.login("http://your.gitlab.server.com", "your-username", "your-password");
``` ```
NOTE: Logging in with username and password is not available on GitLab servers 10.2 and above.
As of GitLab4J-API 4.6.6, all API requests support performing the API call as if you were another user, provided you are authenticated as an administrator: As of GitLab4J-API 4.6.6, all API requests support performing the API call as if you were another user, provided you are authenticated as an administrator:
```java ```java
// Create a GitLabApi instance to communicate with your GitLab server (must be an administrator) // Create a GitLabApi instance to communicate with your GitLab server (must be an administrator)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment