From bbee5a21c4fd6db9785f28f4e93c37945cd2bdaf Mon Sep 17 00:00:00 2001 From: Thomas Schank Date: Wed, 7 Mar 2018 13:56:04 +0100 Subject: [PATCH] Fix JDK9 compile issue --- project.clj | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/project.clj b/project.clj index 8379b82..5017d7e 100644 --- a/project.clj +++ b/project.clj @@ -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"]