From a57662693c60e87d657cd63ef59520b19af5e3b8 Mon Sep 17 00:00:00 2001 From: Juho Teperi Date: Fri, 28 Mar 2025 15:40:26 +0200 Subject: [PATCH] Drop Java 8 tests and support --- .github/workflows/testsuite.yml | 2 +- project.clj | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/testsuite.yml b/.github/workflows/testsuite.yml index 9c5e7e1f..fd8f56bb 100644 --- a/.github/workflows/testsuite.yml +++ b/.github/workflows/testsuite.yml @@ -9,7 +9,7 @@ jobs: strategy: matrix: # Supported Java versions: LTS releases and latest - jdk: [8, 11, 17, 21] + jdk: [11, 17, 21] name: Clojure (Java ${{ matrix.jdk }}) diff --git a/project.clj b/project.clj index 2d9b2b1e..73e467bc 100644 --- a/project.clj +++ b/project.clj @@ -16,7 +16,8 @@ :scm {:name "git" :url "https://github.com/metosin/reitit"} ;; TODO: need to verify that the code actually worked with Java1.8, see #242 - :javac-options ["-Xlint:unchecked" "-target" "1.8" "-source" "1.8"] + ;; Ring 1.13.1 drops support for Java 1.8 so lets target 11 + :javac-options ["-Xlint:unchecked" "-target" "11" "-source" "11"] :managed-dependencies [[metosin/reitit "0.8.0-alpha1"] [metosin/reitit-core "0.8.0-alpha1"] [metosin/reitit-dev "0.8.0-alpha1"]