From b5a346ce10ba0e9c3734ee0056176f34133b2b89 Mon Sep 17 00:00:00 2001 From: psiotwo Date: Wed, 22 Jan 2025 17:54:11 +0100 Subject: [PATCH 1/2] feat: upgrade to Jena 5 and JDK 17 --- build.gradle.kts | 6 +++--- gradle/libs.versions.toml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index fd718a3..14cea03 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -17,7 +17,7 @@ repositories { java { toolchain { - languageVersion.set(JavaLanguageVersion.of(11)) + languageVersion.set(JavaLanguageVersion.of(17)) } withJavadocJar() withSourcesJar() @@ -48,8 +48,8 @@ pmd { } tasks.withType { - sourceCompatibility = JavaVersion.VERSION_11.toString() - targetCompatibility = JavaVersion.VERSION_11.toString() + sourceCompatibility = JavaVersion.VERSION_17.toString() + targetCompatibility = JavaVersion.VERSION_17.toString() } dependencies { diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 820b10f..d472f5e 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -4,7 +4,7 @@ dependencycheck = "10.0.3" guava = "33.3.0-jre" jakarta-annotation-api = "3.0.0" jb4jsonld-jackson = "0.14.3" -jena = "4.10.0" +jena = "5.3.0" junit = "5.11.0" logback = "1.5.7" lombok = "8.10" From adf5664e5d711926a601bd6b53a4c87f6460f034 Mon Sep 17 00:00:00 2001 From: psiotwo Date: Mon, 27 Jan 2025 10:20:54 +0100 Subject: [PATCH 2/2] fix: upgrade to Jena 5 and JDK 17 in github CI --- .github/workflows/develop.yml | 4 ++-- .github/workflows/main.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/develop.yml b/.github/workflows/develop.yml index 2b83200..83aad42 100644 --- a/.github/workflows/develop.yml +++ b/.github/workflows/develop.yml @@ -15,10 +15,10 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Set up JDK 11 + - name: Set up JDK 17 uses: actions/setup-java@v4 with: - java-version: '11' + java-version: '17' distribution: 'temurin' - name: Setup Gradle diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 8118a07..faff74a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -15,10 +15,10 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Set up JDK 11 + - name: Set up JDK 17 uses: actions/setup-java@v4 with: - java-version: '11' + java-version: '17' distribution: 'temurin' - name: Setup Gradle