Tweak javac options to ensure we build for Java 8

This commit is contained in:
Miikka Koskinen 2020-01-10 10:44:47 +02:00
parent 77d7a57282
commit a1cde85bcc

View file

@ -10,8 +10,7 @@
:metadata {:doc/format :markdown}}
: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"]
:javac-options ["-Xlint:unchecked" "--release" "8"]
:managed-dependencies [[metosin/reitit "0.4.0-SNAPSHOT"]
[metosin/reitit-core "0.4.0-SNAPSHOT"]
[metosin/reitit-dev "0.4.0-SNAPSHOT"]