From c437a2c4f63ab84413d7226682ae713cd5a266cb Mon Sep 17 00:00:00 2001 From: MelKori Date: Sun, 15 Aug 2021 01:28:17 +0300 Subject: [PATCH] update build config to solve j11 compatibility --- profiles.clj | 14 ++++++++------ project.clj | 2 +- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/profiles.clj b/profiles.clj index 887ff56..99f5b00 100644 --- a/profiles.clj +++ b/profiles.clj @@ -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}} diff --git a/project.clj b/project.clj index 83508d2..e574e41 100644 --- a/project.clj +++ b/project.clj @@ -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"