c4k-website/project.clj

50 lines
2.7 KiB
Clojure
Raw Normal View History

2024-02-29 16:58:16 +00:00
(defproject org.domaindrivenarchitecture/c4k-website "2.0.1-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"]
2024-02-21 07:43:31 +00:00
[org.clojure/tools.reader "1.4.0"]
2024-02-29 08:58:46 +00:00
[org.domaindrivenarchitecture/c4k-common-clj "6.2.2"]
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"
2024-02-21 07:43:31 +00:00
:dependencies [[org.clojure/tools.cli "1.1.230"]
2024-02-29 08:58:46 +00:00
[ch.qos.logback/logback-classic "1.5.1"
2022-09-08 13:04:17 +00:00
:exclusions [com.sun.mail/javax.mail]]
2024-02-22 12:44:41 +00:00
[org.slf4j/jcl-over-slf4j "2.0.12"]
[com.github.clj-easy/graal-build-time "1.0.5"]]}}
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"]]
2024-03-20 16:41:16 +00:00
;; TODO: das ist intentionally nach pyb gewandert und muss hier raus!
2024-03-07 12:29:35 +00:00
: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"]}
2024-02-19 15:27:32 +00:00
)