Skip to content

Commit

Permalink
Fix JDK9 compile issue
Browse files Browse the repository at this point in the history
  • Loading branch information
DrTom committed Mar 7, 2018
1 parent 1770608 commit bbee5a2
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions project.clj
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,13 @@
[com.google.guava/guava "21.0"]

]

; jdk 9 needs ["--add-modules" "java.xml.bind"]
:jvm-opts #=(eval (if (re-matches #"^9\..*" (System/getProperty "java.version"))
["--add-modules" "java.xml.bind"]
[]))


:plugins [
[lein-cljsbuild "1.1.5"]
[lein-environ "1.0.2"]
Expand Down

0 comments on commit bbee5a2

Please sign in to comment.