From fd739657947b66900fa7e38588e0637fe3a7467f Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Wed, 29 Dec 2021 05:10:51 +0300 Subject: Targetting JDK 17 --- .github/workflows/ci.yml | 9 +++------ .settings/org.eclipse.jdt.core.prefs | 6 +++--- README.md | 2 +- pom.xml | 4 ++-- 4 files changed, 9 insertions(+), 12 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b9b8253f..119a0964 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,16 +5,13 @@ on: [push, pull_request] jobs: build: runs-on: ubuntu-20.04 - strategy: - matrix: - java: [ 11, 15, 16 ] - name: JDK ${{ matrix.java }} + name: OpenJDK steps: - uses: actions/checkout@v2 - - name: Set up JDK ${{ matrix.java }} + - name: Set up JDK 17 uses: actions/setup-java@v1 with: - java-version: ${{ matrix.java }} + java-version: 17 - name: Cache Maven modules uses: actions/cache@v2 with: diff --git a/.settings/org.eclipse.jdt.core.prefs b/.settings/org.eclipse.jdt.core.prefs index 77972119..13e5d65c 100644 --- a/.settings/org.eclipse.jdt.core.prefs +++ b/.settings/org.eclipse.jdt.core.prefs @@ -1,10 +1,10 @@ eclipse.preferences.version=1 org.eclipse.jdt.core.compiler.codegen.methodParameters=generate -org.eclipse.jdt.core.compiler.codegen.targetPlatform=11 -org.eclipse.jdt.core.compiler.compliance=11 +org.eclipse.jdt.core.compiler.codegen.targetPlatform=17 +org.eclipse.jdt.core.compiler.compliance=17 org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=ignore org.eclipse.jdt.core.compiler.processAnnotations=disabled org.eclipse.jdt.core.compiler.release=disabled -org.eclipse.jdt.core.compiler.source=11 +org.eclipse.jdt.core.compiler.source=17 diff --git a/README.md b/README.md index cf8f29b7..6b88b76f 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ Juick --- -Для сборки требуется Git, JDK (не ниже версии 9, лучше 11), NodeJS (желательно не ниже текущей LTS-версии) +Для сборки требуется Git, JDK (17), NodeJS (желательно не ниже текущей LTS-версии) Подготовка: diff --git a/pom.xml b/pom.xml index 63e04951..230e42c8 100644 --- a/pom.xml +++ b/pom.xml @@ -11,8 +11,8 @@ 2.0-SNAPSHOT - 11 - 11 + 17 + 17 -- cgit v1.2.3