Skip to content

Commit

Permalink
Update project template
Browse files Browse the repository at this point in the history
Sync project boilerplate used across Taoensso libraries to help keep
things easier to maintain.

Changes:

  - Fix Graal build issue
  - Remove unnecessary Lein composite profile (fixes deprecation warning)
  - Update GitHub action dependencies (fixed deprecation warning)
  • Loading branch information
ptaoussanis committed Feb 29, 2024
1 parent 0de2499 commit 869d5ae
Showing 1 changed file with 24 additions and 24 deletions.
48 changes: 24 additions & 24 deletions project.clj
Original file line number Diff line number Diff line change
Expand Up @@ -15,45 +15,45 @@
[com.amazonaws/aws-java-sdk-dynamodb "1.12.581"
:exclusions [joda-time commons-logging]]]

:test-paths ["test" #_"src"]

:profiles
{;; :default [:base :system :user :provided :dev]
:provided {:dependencies [[org.clojure/clojure "1.11.1"]]}
:c1.11 {:dependencies [[org.clojure/clojure "1.11.1"]]}
:c1.10 {:dependencies [[org.clojure/clojure "1.10.3"]]}
:c1.9 {:dependencies [[org.clojure/clojure "1.9.0"]]}

:test
{:jvm-opts ["-Dtaoensso.elide-deprecated=true"]
:global-vars
{*warn-on-reflection* true
*assert* true
*unchecked-math* false #_:warn-on-boxed}}

:graal-tests
{:dependencies [[org.clojure/clojure "1.11.1"]
[com.github.clj-easy/graal-build-time "0.1.4"]]
{:source-paths ["test"]
:main taoensso.graal-tests
:aot [taoensso.graal-tests]
:uberjar-name "graal-tests.jar"}
:uberjar-name "graal-tests.jar"
:dependencies
[[org.clojure/clojure "1.11.1"]
[com.github.clj-easy/graal-build-time "1.0.5"]]}

:dev
[:c1.11 :test
{:jvm-opts ["-server"]
:dependencies
[[org.testcontainers/testcontainers "1.19.1"
:exclusions [com.fasterxml.jackson.core/jackson-annotations]]
[org.slf4j/slf4j-simple "1.7.36"]]
{:jvm-opts ["-server" "-Dtaoensso.elide-deprecated=true"]

:plugins
[[lein-pprint "1.3.2"]
[lein-ancient "0.7.0"]
[com.taoensso.forks/lein-codox "0.10.10"]]
:global-vars
{*warn-on-reflection* true
*assert* true
*unchecked-math* false #_:warn-on-boxed}

:codox
{:language #{:clojure #_:clojurescript}
:base-language :clojure}}]}
:dependencies
[[org.testcontainers/testcontainers "1.19.1"
:exclusions [com.fasterxml.jackson.core/jackson-annotations]]
[org.slf4j/slf4j-simple "1.7.36"]]

:test-paths ["test" #_"src"]
:plugins
[[lein-pprint "1.3.2"]
[lein-ancient "0.7.0"]
[com.taoensso.forks/lein-codox "0.10.11"]]

:codox
{:language #{:clojure #_:clojurescript}
:base-language :clojure}}}

:aliases
{"start-dev" ["with-profile" "+dev" "repl" ":headless"]
Expand Down

0 comments on commit 869d5ae

Please sign in to comment.