From c25f8e8b9f1bee18f1bec6b3b0fdc9d8106f9883 Mon Sep 17 00:00:00 2001 From: Siedlerchr Date: Sat, 19 Jun 2021 19:11:10 +0200 Subject: [PATCH] Try distribution on jdk17 --- .github/workflows/deployment.yml | 2 +- build.gradle | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deployment.yml b/.github/workflows/deployment.yml index 1a184c73453..90bcbcf863c 100644 --- a/.github/workflows/deployment.yml +++ b/.github/workflows/deployment.yml @@ -60,7 +60,7 @@ jobs: - name: Set up JDK uses: actions/setup-java@v2 with: - java-version: 16 + java-version: '17-ea' distribution: 'adopt' - name: Restore gradle cache uses: actions/cache@v2 diff --git a/build.gradle b/build.gradle index a1804294c9d..24e0fb348e8 100644 --- a/build.gradle +++ b/build.gradle @@ -46,8 +46,8 @@ group = "org.jabref" version = project.findProperty('projVersion') ?: '100.0.0' java { - sourceCompatibility = JavaVersion.VERSION_14 - targetCompatibility = JavaVersion.VERSION_14 + sourceCompatibility = JavaVersion.VERSION_16 + targetCompatibility = JavaVersion.VERSION_16 // Workaround needed for Eclipse, probably because of https://github.com/gradle/gradle/issues/16922 // Should be removed as soon as Gradle 7.0.1 is released ( https://github.com/gradle/gradle/issues/16922#issuecomment-828217060 )