diff --git a/.github/workflows/ci-build.yml b/.github/workflows/ci-build.yml index d5b06db518fa39f380c65214775d40e2c90eaf6b..51828a5964d02338cd5f3e68ce6fea399e46aa87 100644 --- a/.github/workflows/ci-build.yml +++ b/.github/workflows/ci-build.yml @@ -9,8 +9,8 @@ on: jobs: - build-jdk8: - name: "Build JDK 8" + build-jdk11: + name: "Build JDK 11" runs-on: ubuntu-latest services: gitlab-instance: @@ -23,11 +23,11 @@ jobs: - uses: actions/checkout@v2 with: fetch-depth: 0 - - name: Set up JDK 8 + - name: Set up JDK 11 uses: actions/setup-java@v2 with: distribution: adopt-hotspot - java-version: 8 + java-version: 11 - name: Get Date id: get-date run: | diff --git a/README.md b/README.md index 74e305d4a5b29eb843b0720971c60e3f13ad9170..96d65e2eb777ac6bb8ac52870e5f85d69e6703c9 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # GitLab4J™ API (gitlab4j-api)
Java Client Library for the GitLab REST API [![Maven Central](https://img.shields.io/maven-central/v/org.gitlab4j/gitlab4j-api.svg)](http://mvnrepository.com/artifact/org.gitlab4j/gitlab4j-api) -[![Build Status](https://github.com/gitlab4j/gitlab4j-api/actions/workflows/ci-build.yml/badge.svg?branch=main)](https://github.com/gitlab4j/gitlab4j-api/actions/workflows/ci-build.yml) +[![Build Status](https://github.com/gitlab4j/gitlab4j-api/actions/workflows/ci-build.yml/badge.svg?branch=6.x)](https://github.com/gitlab4j/gitlab4j-api/actions/workflows/ci-build.yml) [![javadoc.io](https://javadoc.io/badge2/org.gitlab4j/gitlab4j-api/javadoc.io.svg)](https://javadoc.io/doc/org.gitlab4j/gitlab4j-api) GitLab4J™ API (gitlab4j-api) provides a full featured and easy to consume Java library for working with GitLab repositories via the GitLab REST API. Additionally, full support for working with GitLab webhooks and system hooks is also provided. @@ -10,7 +10,7 @@ GitLab4J™ API (gitlab4j-api) provides a full featured and easy to consume ## Table of Contents * [GitLab Server Version Support](#gitLab-server-version-support)
* [Using GitLab4J-API](#using-gitlab4j-api)
- * [Java 8 Requirement](#java-8-requirement)
+ * [Java 11 Requirement](#java-11-requirement)
* [Javadocs](#javadocs)
* [Project Set Up](#project-set-up)
* [Usage Examples](#usage-examples)
@@ -40,8 +40,8 @@ As of GitLab 11.0 support for the GitLab API v3 has been removed from the GitLab --- ## Using GitLab4J-API -### **Java 8 Requirement** -As of GitLab4J-API 4.8.0, Java 8+ is now required to use GitLab4J-API. +### **Java 11 Requirement** +As of GitLab4J-API 6.0.0, Java 11+ is now required to use GitLab4J-API. ### **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) @@ -53,7 +53,7 @@ To utilize GitLab4J™ API in your Java project, simply add the following de ```java 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 { org.gitlab4j gitlab4j-api - 5.1.0 + 6.0.0 ``` diff --git a/pom.xml b/pom.xml index a3919c943207f76775bc6898b51ab4a36ca5d361..19ab9a2ad6428025945616cfb8539fbe486f0a73 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ org.gitlab4j gitlab4j-api jar - 5.1.0 + 6.0.0-SNAPSHOT GitLab4J-API - GitLab API Java Client GitLab4J-API (gitlab4j-api) provides a full featured Java client library for working with GitLab repositories and servers via the GitLab REST API. https://github.com/gitlab4j/gitlab4j-api @@ -43,9 +43,9 @@ - 8 - 1.8 - 1.8 + 11 + 11 + 11 UTF-8 UTF-8 @@ -258,7 +258,7 @@ - 1.8 + 11 module-info @@ -282,26 +282,6 @@ - - org.codehaus.mojo - animal-sniffer-maven-plugin - 1.20 - - - - check - - check - - - - - org.codehaus.mojo.signature - java1${java.level} - - - - io.fabric8 docker-maven-plugin