c4k-nextcloud/project.clj

45 lines
2.5 KiB
Clojure
Raw Normal View History

2022-07-22 10:48:34 +00:00
(defproject org.domaindrivenarchitecture/c4k-nextcloud "4.0.4-SNAPSHOT"
2021-08-10 09:22:45 +00:00
:description "nextcloud 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-05-20 16:17:47 +00:00
:dependencies [[org.clojure/clojure "1.11.1"]
2022-03-18 10:50:27 +00:00
[org.clojure/tools.reader "1.3.6"]
2023-02-02 12:28:46 +00:00
[org.domaindrivenarchitecture/c4k-common-clj "6.0.1"]]
2021-08-06 15:36:59 +00:00
:target-path "target/%s/"
2021-08-10 09:22:45 +00:00
:source-paths ["src/main/cljc"
"src/main/clj"]
:resource-paths ["src/main/resources"]
:repositories [["snapshots" :clojars]
["releases" :clojars]]
2022-02-25 09:41:30 +00:00
:deploy-repositories [["snapshots" {:sign-releases false :url "https://clojars.org/repo"}]
["releases" {:sign-releases false :url "https://clojars.org/repo"}]]
2021-08-10 09:22:45 +00:00
: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
2021-08-10 08:43:04 +00:00
:main dda.c4k-nextcloud.uberjar
:uberjar-name "c4k-nextcloud-standalone.jar"
2021-08-10 09:22:45 +00:00
:dependencies [[org.clojure/tools.cli "1.0.206"]
[ch.qos.logback/logback-classic "1.3.0-alpha4"
:exclusions [com.sun.mail/javax.mail]]
2021-08-06 15:36:59 +00:00
[org.slf4j/jcl-over-slf4j "2.0.0-alpha1"]]}}
2021-08-10 09:22:45 +00:00
:release-tasks [["test"]
["vcs" "assert-committed"]
2021-08-06 15:36:59 +00:00
["change" "version" "leiningen.release/bump-version" "release"]
["vcs" "commit"]
2022-02-25 15:28:26 +00:00
["vcs" "tag" "--no-sign"]
2021-08-10 09:22:45 +00:00
["change" "version" "leiningen.release/bump-version"]]
:aliases {"native" ["shell"
"native-image"
"--report-unsupported-elements-at-runtime"
"--initialize-at-build-time"
2021-08-10 12:34:17 +00:00
"-jar" "target/uberjar/c4k-nextcloud-standalone.jar"
2021-08-10 09:22:45 +00:00
"-H:ResourceConfigurationFiles=graalvm-resource-config.json"
"-H:Log=registerResource"
2022-03-18 12:13:03 +00:00
"-H:Name=target/graalvm/${:name}"]
2023-02-14 08:15:27 +00:00
"inst" ["shell"
"sh"
"-c"
"lein uberjar && sudo install -m=755 target/uberjar/c4k-nextcloud-standalone.jar /usr/local/bin/c4k-nextcloud-standalone.jar"]})