Skip to content

Commit 3d896fa

Browse files
committed
update deps and build structure
1 parent 413f759 commit 3d896fa

File tree

2 files changed

+24
-3
lines changed

2 files changed

+24
-3
lines changed

profiles.clj

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{:dev {:global-vars {*warn-on-reflection* true}
2+
3+
:source-paths #{"src"}
4+
:resource-paths ["resources"]
5+
6+
:target-path "target/%s"
7+
:clean-targets ^{:protect false} [:target-path]
8+
9+
:plugins [[lein-ancient "0.6.15"]
10+
[org.apache.maven.wagon/wagon-ssh-external "3.0.0"]
11+
[org.apache.maven.wagon/wagon-http-lightweight "3.0.0"]]
12+
13+
:dependencies [[org.clojure/clojure "1.9.0"]]}
14+
15+
:uberjar {:aot :all
16+
:jvm-opts #=(eval
17+
(concat ["-Xmx1G"]
18+
(let [version (System/getProperty "java.version")
19+
[major _ _] (clojure.string/split version #"\.")]
20+
(if (>= (Integer. major) 9)
21+
["--add-modules" "java.xml.bind"]
22+
[]))))}}

project.clj

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
(defproject net.tbt-post/zlib-tiny "0.2.0"
1+
(defproject net.tbt-post/zlib-tiny "0.2.1"
22
:description "Tiny Clojure ZLib helper"
33
:url "https://github.com/source-c/zlib-tiny"
44
:license {:name "Eclipse Public License"
55
:url "http://www.eclipse.org/legal/epl-v10.html"}
6-
:dependencies [[org.clojure/clojure "1.8.0"]
7-
[commons-io "2.5"]])
6+
:dependencies [[commons-io "2.5"]])

0 commit comments

Comments
 (0)