Skip to content

Commit

Permalink
Set default target jdk release to 11
Browse files Browse the repository at this point in the history
  • Loading branch information
niwinz committed Jul 19, 2024
1 parent 252f7e8 commit 72413ad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.clj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
(:require [clojure.tools.build.api :as b]))

(def lib 'buddy/buddy-core)
(def version (format "1.11.%s" (b/git-count-revs nil)))
(def version (format "1.12-%s" (b/git-count-revs nil)))
(def class-dir "target/classes")
(def basis (b/create-basis {:project "deps.edn"}))
(def jar-file (format "target/%s-%s.jar" (name lib) version))
Expand Down Expand Up @@ -32,7 +32,7 @@
{:src-dirs ["src"]
:class-dir class-dir
:basis basis
:javac-opts ["-source" "1.8" "-target" "1.8"]}))
:javac-opts ["--release" "11" "-proc:none"]}))

(defn clojars [_]
(b/process
Expand Down

0 comments on commit 72413ad

Please sign in to comment.