c4k-website/project.clj

47 lines
2.5 KiB
Clojure
Raw Normal View History

2023-04-12 14:53:54 +00:00
(defproject org.domaindrivenarchitecture/c4k-website "1.1.4-SNAPSHOT"
2022-09-08 13:04:17 +00:00
:description "website c4k-installation package"
:url "https://domaindrivenarchitecture.org"
:license {:name "Apache License, Version 2.0"
:url "https://www.apache.org/licenses/LICENSE-2.0.html"}
2022-12-27 19:51:40 +00:00
:dependencies [[org.clojure/clojure "1.11.1"]
2022-10-21 09:33:25 +00:00
[org.clojure/tools.reader "1.3.6"]
[org.domaindrivenarchitecture/c4k-common-clj "5.0.1"]
2023-03-24 14:10:12 +00:00
[hickory "0.7.1" :exclusions [viebel/codox-klipse-theme]]]
2022-09-08 13:04:17 +00:00
:target-path "target/%s/"
:source-paths ["src/main/cljc"
"src/main/clj"]
:resource-paths ["src/main/resources"]
:repositories [["snapshots" :clojars]
["releases" :clojars]]
:deploy-repositories [["snapshots" {:sign-releases false :url "https://clojars.org/repo"}]
["releases" {:sign-releases false :url "https://clojars.org/repo"}]]
:profiles {:test {:test-paths ["src/test/cljc"]
:resource-paths ["src/test/resources"]
:dependencies [[dda/data-test "0.1.1"]]}
:dev {:plugins [[lein-shell "0.5.0"]]}
:uberjar {:aot :all
:main dda.c4k-website.uberjar
:uberjar-name "c4k-website-standalone.jar"
2022-12-27 19:51:40 +00:00
:dependencies [[org.clojure/tools.cli "1.0.214"]
[ch.qos.logback/logback-classic "1.4.5"
2022-09-08 13:04:17 +00:00
:exclusions [com.sun.mail/javax.mail]]
2022-12-27 19:51:40 +00:00
[org.slf4j/jcl-over-slf4j "2.0.6"]]}}
2022-09-08 13:04:17 +00:00
:release-tasks [["test"]
["vcs" "assert-committed"]
["change" "version" "leiningen.release/bump-version" "release"]
["vcs" "commit"]
["vcs" "tag" "v" "--no-sign"]
["change" "version" "leiningen.release/bump-version"]]
:aliases {"native" ["shell"
"native-image"
"--report-unsupported-elements-at-runtime"
"--initialize-at-build-time"
"-jar" "target/uberjar/c4k-website-standalone.jar"
"-H:ResourceConfigurationFiles=graalvm-resource-config.json"
"-H:Log=registerResource"
"-H:Name=target/graalvm/${:name}"]
"inst" ["shell"
"sh"
"-c"
"lein uberjar && sudo install -m=755 target/uberjar/c4k-website-standalone.jar /usr/local/bin/c4k-website-standalone.jar"]})