Skip to content

Commit 4880422

Browse files
authored
Merge branch 'master' into master
2 parents 28c40be + ebaf80e commit 4880422

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+2450
-848
lines changed

.editorconfig

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
root = true
2+
3+
[*]
4+
insert_final_newline = true
5+
6+
[*.java]
7+
indent_size = 4
8+
indent_style = space
9+
trim_trailing_whitespace = true

.github/workflows/build.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Build
2+
on:
3+
push:
4+
branches:
5+
- master
6+
pull_request:
7+
types: [opened, synchronize, reopened]
8+
jobs:
9+
build:
10+
name: Build
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v2
14+
with:
15+
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
16+
- name: Set up JDK 11
17+
uses: actions/setup-java@v1
18+
with:
19+
java-version: 11
20+
- name: Cache SonarCloud packages
21+
uses: actions/cache@v1
22+
with:
23+
path: ~/.sonar/cache
24+
key: ${{ runner.os }}-sonar
25+
restore-keys: ${{ runner.os }}-sonar
26+
- name: Cache Maven packages
27+
uses: actions/cache@v1
28+
with:
29+
path: ~/.m2
30+
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
31+
restore-keys: ${{ runner.os }}-m2
32+
- name: Build and analyze
33+
env:
34+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
35+
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
36+
run: mvn -B test org.sonarsource.scanner.maven:sonar-maven-plugin:sonar

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# GitlLab4J&trade; API (gitlab4j-api)<br />Java Client Library for the GitLab REST API
1+
# GitLab4J&trade; API (gitlab4j-api)<br />Java Client Library for the GitLab REST API
22

33
[![Maven Central](https://img.shields.io/maven-central/v/org.gitlab4j/gitlab4j-api.svg)](http://mvnrepository.com/artifact/org.gitlab4j/gitlab4j-api)
44
[![Build Status](https://travis-ci.org/gitlab4j/gitlab4j-api.svg?branch=master)](https://travis-ci.org/gitlab4j/gitlab4j-api)
@@ -54,7 +54,7 @@ To utilize GitLab4J&trade; API in your Java project, simply add the following de
5454
```java
5555
dependencies {
5656
...
57-
compile group: 'org.gitlab4j', name: 'gitlab4j-api', version: '4.15.7'
57+
compile group: 'org.gitlab4j', name: 'gitlab4j-api', version: '4.16.0'
5858
}
5959
```
6060

@@ -65,7 +65,7 @@ dependencies {
6565
<dependency>
6666
<groupId>org.gitlab4j</groupId>
6767
<artifactId>gitlab4j-api</artifactId>
68-
<version>4.15.7</version>
68+
<version>4.16.0</version>
6969
</dependency>
7070
```
7171

0 commit comments

Comments
 (0)