diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index bc5f9bfd..28d9a1cb 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -29,8 +29,8 @@ jobs: matrix: os: [ubuntu-latest, windows-latest] java: [ - { 'version': '11' }, - { 'version': '17' } + { 'version': '17' }, + { 'version': '21' } ] steps: - name: Prepare git @@ -55,8 +55,8 @@ jobs: matrix: os: [ubuntu-latest, windows-latest] java: [ - { 'version': '11' }, - { 'version': '17' } + { 'version': '17' }, + { 'version': '21' } ] steps: - name: Prepare git diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 69e8b730..af121a85 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -30,7 +30,7 @@ jobs: uses: actions/setup-java@v4 with: distribution: temurin - java-version: 11 + java-version: 17 - name: Initialize CodeQL uses: github/codeql-action/init@v3 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6dff2f41..fbfe3f0d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -29,11 +29,11 @@ jobs: gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }} passphrase: ${{ secrets.GPG_PASSPHRASE }} - - name: Set up JDK 11 + - name: Set up JDK 17 uses: actions/setup-java@v4 with: distribution: temurin - java-version: 11 + java-version: 17 - name: Cache local Maven repository uses: actions/cache@v4 diff --git a/.lgtm.yml b/.lgtm.yml index ded87cd3..80107f3c 100644 --- a/.lgtm.yml +++ b/.lgtm.yml @@ -8,4 +8,4 @@ extraction: maven: version: "3.8.4" # Specify the Java version required to build the project - java_version: "11" \ No newline at end of file + java_version: "17" \ No newline at end of file diff --git a/README.md b/README.md index 7b763f01..a4f52fd4 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,8 @@ > **⚠️** This is the instructions for the latest SNAPSHOT version (main branch). Please, see the [latest **released** documentation](https://github.com/quarkiverse/quarkus-openapi-generator/blob/1.0.1/README.md) if you are looking for instructions. +> **⚠️** This extension, [like Quarkus 3.7](https://quarkus.io/blog/java-17/), requires Java 17. The last version of this extension that supports earlier versions of Java is [2.2.16](https://github.com/quarkiverse/quarkus-openapi-generator/releases/tag/2.2.16). + > **⚠️** Check versions 1.x.x if you're still using Quarkus 2. But be aware that we no longer support Quarkus 2. That means there are no updates planned for those versions. Quarkus' extension for generation of [Rest Clients](https://quarkus.io/guides/rest-client) based on OpenAPI specification files. diff --git a/pom.xml b/pom.xml index bc10bd53..6b3a0fcf 100644 --- a/pom.xml +++ b/pom.xml @@ -25,7 +25,7 @@ 3.8.1 - 11 + 17 UTF-8 UTF-8 3.6.7