diff options
author | Vitaly Takmazov | 2021-12-29 05:10:51 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2021-12-29 05:12:33 +0300 |
commit | fd739657947b66900fa7e38588e0637fe3a7467f (patch) | |
tree | bd9c32a84ec8c6fd120fed3e4956f8488f48b9cc | |
parent | d30e2ddb349f61aaaf614354a332e999512fa616 (diff) |
Targetting JDK 17
-rw-r--r-- | .github/workflows/ci.yml | 9 | ||||
-rw-r--r-- | .settings/org.eclipse.jdt.core.prefs | 6 | ||||
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | 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 @@ -1,7 +1,7 @@ Juick --- -Для сборки требуется Git, JDK (не ниже версии 9, лучше 11), NodeJS (желательно не ниже текущей LTS-версии) +Для сборки требуется Git, JDK (17), NodeJS (желательно не ниже текущей LTS-версии) Подготовка: @@ -11,8 +11,8 @@ <version>2.0-SNAPSHOT</version> <properties> - <maven.compiler.source>11</maven.compiler.source> - <maven.compiler.target>11</maven.compiler.target> + <maven.compiler.source>17</maven.compiler.source> + <maven.compiler.target>17</maven.compiler.target> </properties> <dependencies> |