Skip to content

Commit

Permalink
update build config to solve j11 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
source-c committed Aug 14, 2021
1 parent d1c28dc commit c437a2c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
14 changes: 8 additions & 6 deletions profiles.clj
Original file line number Diff line number Diff line change
@@ -1,18 +1,20 @@
{:dev {:global-vars {*warn-on-reflection* true}
{:dev {:global-vars {*warn-on-reflection* true}

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

:dependencies [[commons-codec "1.15"]]
:dependencies [[commons-codec "1.15"]]

:plugins [[org.apache.maven.wagon/wagon-ssh-external "3.4.3"]
[org.apache.maven.wagon/wagon-http-lightweight "3.4.3"]]}
:plugins [[org.apache.maven.wagon/wagon-ssh-external "3.4.3"]
[org.apache.maven.wagon/wagon-http-lightweight "3.4.3"]]}

:provided {:dependencies [[org.clojure/clojure "1.10.3"]]
:source-paths #{"src-clj"}
:java-source-paths #{"src-java"}
:resource-paths ["resources"]

:javac-options ["-source" "9" "-target" "9" "-g:none"]

:jar-exclusions [#"\.java"]}

:jar {:aot :all}}
2 changes: 1 addition & 1 deletion project.clj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
(defproject net.tbt-post/zlib-tiny "0.3.1"
(defproject net.tbt-post/zlib-tiny "0.3.2"
:description "Tiny Clojure ZLib helper"
:url "https://github.com/source-c/zlib-tiny"
:license {:name "Eclipse Public License"
Expand Down

0 comments on commit c437a2c

Please sign in to comment.