Commit 54a36706 authored by Greg Messner's avatar Greg Messner
Browse files

Updated for release 4.8.14

parent d98ba0af
...@@ -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.8.12' compile group: 'org.gitlab4j', name: 'gitlab4j-api', version: '4.8.14'
} }
``` ```
...@@ -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.8.12</version> <version>4.8.14</version>
</dependency> </dependency>
``` ```
...@@ -296,8 +296,12 @@ List<Runner> runners = gitLabApi.getRunnersApi().getAllRunners(); ...@@ -296,8 +296,12 @@ List<Runner> runners = gitLabApi.getRunnersApi().getAllRunners();
#### ServicesApi #### ServicesApi
```java ```java
// Activates the gitlab-ci service. // Activate/Update the Slack Notifications service
gitLabApi.getServicesApi().setGitLabCI("project-name", "auth-token", "project-ci-url"); SlackService slackService = new SlackService()
.withMergeRequestsEvents(true)
.withWebhook("https://hooks.slack.com/services/ABCDEFGHI/KJLMNOPQR/wetrewq7897HKLH8998wfjjj")
.withUsername("GitLab4J");
gitLabApi.getServicesApi().updateSlackService("project-path", slackService);
``` ```
#### SessionApi #### SessionApi
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
<groupId>org.gitlab4j</groupId> <groupId>org.gitlab4j</groupId>
<artifactId>gitlab4j-api</artifactId> <artifactId>gitlab4j-api</artifactId>
<packaging>jar</packaging> <packaging>jar</packaging>
<version>4.8.13-SNAPSHOT</version> <version>4.8.14-SNAPSHOT</version>
<name>GitLab API Java Client</name> <name>GitLab API Java Client</name>
<description>GitLab API for Java (gitlab4j-api) provides a full featured Java API for working with GitLab repositories via the GitLab REST API.</description> <description>GitLab API for Java (gitlab4j-api) provides a full featured Java API for working with GitLab repositories via the GitLab REST API.</description>
<url>https://github.com/gmessner/gitlab4j-api</url> <url>https://github.com/gmessner/gitlab4j-api</url>
......
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