Skip to content

Commit

Permalink
refactor profiles
Browse files Browse the repository at this point in the history
  • Loading branch information
source-c committed Jan 23, 2021
1 parent d878dbf commit 2f64057
Showing 1 changed file with 9 additions and 17 deletions.
26 changes: 9 additions & 17 deletions profiles.clj
Original file line number Diff line number Diff line change
@@ -1,22 +1,14 @@
{:dev {:global-vars {*warn-on-reflection* true}
{:dev {:global-vars {*warn-on-reflection* true}

:source-paths #{"src"}
:resource-paths ["resources"]
:source-paths #{"src"}
:resource-paths ["resources"]

:target-path "target/%s"
:clean-targets ^{:protect false} [:target-path]
:target-path "target/%s"
:clean-targets ^{:protect false} [:target-path]

:plugins [[lein-ancient "0.6.15"]
[org.apache.maven.wagon/wagon-ssh-external "3.0.0"]
[org.apache.maven.wagon/wagon-http-lightweight "3.0.0"]]
:plugins [[org.apache.maven.wagon/wagon-ssh-external "3.4.2"]
[org.apache.maven.wagon/wagon-http-lightweight "3.4.2"]]}

:dependencies [[org.clojure/clojure "1.10.0"]]}
:provided {:dependencies [[org.clojure/clojure "1.10.1"]]}

:uberjar {:aot :all
:jvm-opts #=(eval
(concat ["-Xmx1G"]
(let [version (System/getProperty "java.version")
[major _ _] (clojure.string/split version #"\.")]
(if (>= (Integer. major) 9)
["--add-modules" "java.xml.bind"]
[]))))}}
:jar {:aot :all}}

0 comments on commit 2f64057

Please sign in to comment.