Drop Java 8 tests and support

This commit is contained in:
Juho Teperi 2025-03-28 15:40:26 +02:00
parent 9fb0b7233a
commit a57662693c
2 changed files with 3 additions and 2 deletions

View file

@ -9,7 +9,7 @@ jobs:
strategy: strategy:
matrix: matrix:
# Supported Java versions: LTS releases and latest # Supported Java versions: LTS releases and latest
jdk: [8, 11, 17, 21] jdk: [11, 17, 21]
name: Clojure (Java ${{ matrix.jdk }}) name: Clojure (Java ${{ matrix.jdk }})

View file

@ -16,7 +16,8 @@
:scm {:name "git" :scm {:name "git"
:url "https://github.com/metosin/reitit"} :url "https://github.com/metosin/reitit"}
;; TODO: need to verify that the code actually worked with Java1.8, see #242 ;; 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"] :managed-dependencies [[metosin/reitit "0.8.0-alpha1"]
[metosin/reitit-core "0.8.0-alpha1"] [metosin/reitit-core "0.8.0-alpha1"]
[metosin/reitit-dev "0.8.0-alpha1"] [metosin/reitit-dev "0.8.0-alpha1"]