c4k-forgejo/project.clj

47 lines
2.5 KiB
Clojure
Raw Permalink Normal View History

2024-01-26 17:15:31 +00:00
(defproject org.domaindrivenarchitecture/c4k-forgejo "3.1.7"
2023-04-21 06:56:06 +00:00
:description "forgejo c4k-installation package"
2022-06-07 15:37:21 +00:00
:url "https://domaindrivenarchitecture.org"
:license {:name "Apache License, Version 2.0"
:url "https://www.apache.org/licenses/LICENSE-2.0.html"}
2022-10-18 06:41:26 +00:00
:dependencies [[org.clojure/clojure "1.11.1" :scope "provided"]
2023-12-15 15:24:59 +00:00
[org.clojure/tools.reader "1.3.7"]
2024-01-26 14:11:03 +00:00
[org.domaindrivenarchitecture/c4k-common-clj "6.1.2"]
[hickory "0.7.1" :exclusions [viebel/codox-klipse-theme]]]
2022-06-07 15:37:21 +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
2023-04-21 06:56:06 +00:00
:main dda.c4k-forgejo.uberjar
:uberjar-name "c4k-forgejo-standalone.jar"
2023-06-30 15:34:14 +00:00
:dependencies [[org.clojure/tools.cli "1.0.219"]
2023-12-15 15:24:59 +00:00
[ch.qos.logback/logback-classic "1.4.14"
2022-06-07 15:37:21 +00:00
:exclusions [com.sun.mail/javax.mail]]
2024-01-18 17:47:06 +00:00
[org.slf4j/jcl-over-slf4j "2.0.11"]]}}
2022-06-07 15:37:21 +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"
2023-04-21 06:56:06 +00:00
"-jar" "target/uberjar/c4k-forgejo-standalone.jar"
2022-06-07 15:37:21 +00:00
"-H:ResourceConfigurationFiles=graalvm-resource-config.json"
"-H:Log=registerResource"
"-H:Name=target/graalvm/${:name}"]
2022-07-23 09:43:07 +00:00
"inst" ["shell"
"sh"
"-c"
2023-04-21 06:56:06 +00:00
"lein uberjar && sudo install -m=755 target/uberjar/c4k-forgejo-standalone.jar /usr/local/bin/c4k-forgejo-standalone.jar"]})