Unverified Commit 4289c1f9 authored by Jérémie Bresson's avatar Jérémie Bresson Committed by GitHub
Browse files

Update to java 11, bump version to 6.0.0 (#946)



* Update to java 11
* Bump version to 6.0.0-SNAPSHOT

Co-authored-by: default avatarGabriel Barbier <gabriel.barbier-ext@nickel.eu>
parent e413f179
...@@ -9,8 +9,8 @@ on: ...@@ -9,8 +9,8 @@ on:
jobs: jobs:
build-jdk8: build-jdk11:
name: "Build JDK 8" name: "Build JDK 11"
runs-on: ubuntu-latest runs-on: ubuntu-latest
services: services:
gitlab-instance: gitlab-instance:
...@@ -23,11 +23,11 @@ jobs: ...@@ -23,11 +23,11 @@ jobs:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Set up JDK 8 - name: Set up JDK 11
uses: actions/setup-java@v2 uses: actions/setup-java@v2
with: with:
distribution: adopt-hotspot distribution: adopt-hotspot
java-version: 8 java-version: 11
- name: Get Date - name: Get Date
id: get-date id: get-date
run: | run: |
......
...@@ -10,7 +10,7 @@ GitLab4J&trade; API (gitlab4j-api) provides a full featured and easy to consume ...@@ -10,7 +10,7 @@ GitLab4J&trade; API (gitlab4j-api) provides a full featured and easy to consume
## Table of Contents ## Table of Contents
* [GitLab Server Version Support](#gitLab-server-version-support)<br/> * [GitLab Server Version Support](#gitLab-server-version-support)<br/>
* [Using GitLab4J-API](#using-gitlab4j-api)<br/> * [Using GitLab4J-API](#using-gitlab4j-api)<br/>
* [Java 8 Requirement](#java-8-requirement)<br/> * [Java 11 Requirement](#java-11-requirement)<br/>
* [Javadocs](#javadocs)<br/> * [Javadocs](#javadocs)<br/>
* [Project Set Up](#project-set-up)<br/> * [Project Set Up](#project-set-up)<br/>
* [Usage Examples](#usage-examples)<br/> * [Usage Examples](#usage-examples)<br/>
...@@ -40,8 +40,8 @@ As of GitLab 11.0 support for the GitLab API v3 has been removed from the GitLab ...@@ -40,8 +40,8 @@ As of GitLab 11.0 support for the GitLab API v3 has been removed from the GitLab
--- ---
## Using GitLab4J-API ## Using GitLab4J-API
### **Java 8 Requirement** ### **Java 11 Requirement**
As of GitLab4J-API 4.8.0, Java 8+ is now required to use GitLab4J-API. As of GitLab4J-API 6.0.0, Java 11+ is now required to use GitLab4J-API.
### **Javadocs** ### **Javadocs**
Javadocs are available here: [![javadoc.io](https://javadoc.io/badge2/org.gitlab4j/gitlab4j-api/javadoc.io.svg)](https://javadoc.io/doc/org.gitlab4j/gitlab4j-api) Javadocs are available here: [![javadoc.io](https://javadoc.io/badge2/org.gitlab4j/gitlab4j-api/javadoc.io.svg)](https://javadoc.io/doc/org.gitlab4j/gitlab4j-api)
...@@ -53,7 +53,7 @@ To utilize GitLab4J&trade; API in your Java project, simply add the following de ...@@ -53,7 +53,7 @@ To utilize GitLab4J&trade; API in your Java project, simply add the following de
```java ```java
dependencies { dependencies {
... ...
compile group: 'org.gitlab4j', name: 'gitlab4j-api', version: '5.1.0' compile group: 'org.gitlab4j', name: 'gitlab4j-api', version: '6.0.0'
} }
``` ```
...@@ -64,7 +64,7 @@ dependencies { ...@@ -64,7 +64,7 @@ dependencies {
<dependency> <dependency>
<groupId>org.gitlab4j</groupId> <groupId>org.gitlab4j</groupId>
<artifactId>gitlab4j-api</artifactId> <artifactId>gitlab4j-api</artifactId>
<version>5.1.0</version> <version>6.0.0</version>
</dependency> </dependency>
``` ```
......
...@@ -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>5.1.0</version> <version>6.0.0-SNAPSHOT</version>
<name>GitLab4J-API - GitLab API Java Client</name> <name>GitLab4J-API - GitLab API Java Client</name>
<description>GitLab4J-API (gitlab4j-api) provides a full featured Java client library for working with GitLab repositories and servers via the GitLab REST API.</description> <description>GitLab4J-API (gitlab4j-api) provides a full featured Java client library for working with GitLab repositories and servers via the GitLab REST API.</description>
<url>https://github.com/gitlab4j/gitlab4j-api</url> <url>https://github.com/gitlab4j/gitlab4j-api</url>
...@@ -43,9 +43,9 @@ ...@@ -43,9 +43,9 @@
</developers> </developers>
<properties> <properties>
<java.level>8</java.level> <java.source.version>11</java.source.version>
<java.source.version>1.8</java.source.version> <java.target.version>11</java.target.version>
<java.target.version>1.8</java.target.version> <maven.compiler.release>11</maven.compiler.release>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
...@@ -258,7 +258,7 @@ ...@@ -258,7 +258,7 @@
<configuration> <configuration>
<rules> <rules>
<enforceBytecodeVersion> <enforceBytecodeVersion>
<maxJdkVersion>1.8</maxJdkVersion> <maxJdkVersion>11</maxJdkVersion>
<ignoreClasses> <ignoreClasses>
<ignoreClass>module-info</ignoreClass> <ignoreClass>module-info</ignoreClass>
</ignoreClasses> </ignoreClasses>
...@@ -282,26 +282,6 @@ ...@@ -282,26 +282,6 @@
</dependencies> </dependencies>
</plugin> </plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>animal-sniffer-maven-plugin</artifactId>
<version>1.20</version>
<executions>
<execution>
<goals>
<goal>check</goal>
</goals>
<id>check</id>
</execution>
</executions>
<configuration>
<signature>
<groupId>org.codehaus.mojo.signature</groupId>
<artifactId>java1${java.level}</artifactId>
</signature>
</configuration>
</plugin>
<plugin> <plugin>
<groupId>io.fabric8</groupId> <groupId>io.fabric8</groupId>
<artifactId>docker-maven-plugin</artifactId> <artifactId>docker-maven-plugin</artifactId>
......
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