Skip to content

Commit b6e0600

Browse files
committed
Updated for 4.7.2.
1 parent 5a0909d commit b6e0600

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ To utilize the GitLab API for Java in your project, simply add the following dep
1111
```java
1212
dependencies {
1313
...
14-
compile group: 'org.gitlab4j', name: 'gitlab4j-api', version: '4.7.1'
14+
compile group: 'org.gitlab4j', name: 'gitlab4j-api', version: '4.7.2'
1515
}
1616
```
1717

@@ -20,7 +20,7 @@ dependencies {
2020
<dependency>
2121
<groupId>org.gitlab4j</groupId>
2222
<artifactId>gitlab4j-api</artifactId>
23-
<version>4.7.1</version>
23+
<version>4.7.2</version>
2424
</dependency>
2525
```
2626

@@ -43,6 +43,9 @@ You can also login to your GitLab server with username, and password:
4343
GitLabApi gitLabApi = GitLabApi.login("http://your.gitlab.server.com", "your-username", "your-password");
4444
```
4545

46+
NOTE: Logging in with username and password is not available on GitLab servers 10.2 and above.
47+
48+
4649
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:
4750
```java
4851
// Create a GitLabApi instance to communicate with your GitLab server (must be an administrator)

0 commit comments

Comments
 (0)