2025-04-30 12:53:54 +00:00
|
|
|
(defproject com.taoensso/telemere "1.0.0"
|
2023-10-16 08:50:36 +00:00
|
|
|
:author "Peter Taoussanis <https://www.taoensso.com>"
|
2025-02-28 09:53:11 +00:00
|
|
|
:description "Structured logs and telemetry for Clojure/Script"
|
2023-10-16 08:50:36 +00:00
|
|
|
:url "https://www.taoensso.com/telemere"
|
|
|
|
|
|
|
|
|
|
:license
|
|
|
|
|
{:name "Eclipse Public License - v 1.0"
|
|
|
|
|
:url "https://www.eclipse.org/legal/epl-v10.html"}
|
|
|
|
|
|
2024-08-27 13:30:08 +00:00
|
|
|
:scm {:name "git" :url "https://github.com/taoensso/telemere"}
|
|
|
|
|
|
2023-10-16 08:50:36 +00:00
|
|
|
:dependencies
|
2025-05-27 06:18:28 +00:00
|
|
|
[[com.taoensso/encore "3.146.1"]]
|
2023-10-16 08:50:36 +00:00
|
|
|
|
|
|
|
|
:test-paths ["test" #_"src"]
|
|
|
|
|
|
|
|
|
|
:profiles
|
|
|
|
|
{;; :default [:base :system :user :provided :dev]
|
2025-04-17 13:17:44 +00:00
|
|
|
:provided {:dependencies [[org.clojure/clojurescript "1.12.35"]
|
2024-08-05 10:54:13 +00:00
|
|
|
[org.clojure/clojure "1.11.4"]]}
|
2024-08-29 11:17:16 +00:00
|
|
|
:c1.12 {:dependencies [[org.clojure/clojure "1.12.0"]]}
|
2024-08-05 10:54:13 +00:00
|
|
|
:c1.11 {:dependencies [[org.clojure/clojure "1.11.4"]]}
|
2024-08-07 09:55:11 +00:00
|
|
|
:c1.10 {:dependencies [[org.clojure/clojure "1.10.3"]]}
|
2023-10-16 08:50:36 +00:00
|
|
|
|
|
|
|
|
:graal-tests
|
|
|
|
|
{:source-paths ["test"]
|
|
|
|
|
:main taoensso.graal-tests
|
|
|
|
|
:aot [taoensso.graal-tests]
|
|
|
|
|
:uberjar-name "graal-tests.jar"
|
|
|
|
|
:dependencies
|
2024-08-05 10:54:13 +00:00
|
|
|
[[org.clojure/clojure "1.11.4"]
|
2023-10-16 08:50:36 +00:00
|
|
|
[com.github.clj-easy/graal-build-time "1.0.5"]]}
|
|
|
|
|
|
2024-08-21 08:20:20 +00:00
|
|
|
:test {:aot [] #_[taoensso.telemere-tests]}
|
|
|
|
|
:ott-on {:jvm-opts ["-Dtaoensso.telemere.otel-tracing=true"]}
|
|
|
|
|
:ott-off {:jvm-opts ["-Dtaoensso.telemere.otel-tracing=false"]}
|
2023-10-16 08:50:36 +00:00
|
|
|
:dev
|
|
|
|
|
{:jvm-opts
|
|
|
|
|
["-server"
|
|
|
|
|
"-Dtaoensso.elide-deprecated=true"
|
2024-04-23 15:02:19 +00:00
|
|
|
"-Dclojure.tools.logging.to-telemere=true"]
|
2023-10-16 08:50:36 +00:00
|
|
|
|
|
|
|
|
:global-vars
|
|
|
|
|
{*warn-on-reflection* true
|
|
|
|
|
*assert* true
|
|
|
|
|
*unchecked-math* false #_:warn-on-boxed}
|
|
|
|
|
|
|
|
|
|
:dependencies
|
2025-04-17 13:17:44 +00:00
|
|
|
[[org.clojure/core.async "1.8.741"]
|
2024-12-23 11:46:32 +00:00
|
|
|
[org.clojure/test.check "1.1.1"]
|
|
|
|
|
[org.clojure/tools.logging "1.3.0"]
|
2025-02-27 11:37:07 +00:00
|
|
|
[org.slf4j/slf4j-api "2.0.17"]
|
2025-04-30 12:53:54 +00:00
|
|
|
[com.taoensso/telemere-slf4j "1.0.0"]
|
2024-12-23 11:46:32 +00:00
|
|
|
#_[org.slf4j/slf4j-simple "2.0.16"]
|
|
|
|
|
#_[org.slf4j/slf4j-nop "2.0.16"]
|
|
|
|
|
#_[io.github.paintparty/bling "0.4.2"]
|
2024-04-29 15:42:52 +00:00
|
|
|
|
|
|
|
|
;;; For optional handlers
|
2025-04-17 13:17:44 +00:00
|
|
|
[io.opentelemetry/opentelemetry-api "1.49.0"]
|
|
|
|
|
[io.opentelemetry/opentelemetry-sdk-extension-autoconfigure "1.49.0"]
|
|
|
|
|
[io.opentelemetry/opentelemetry-exporter-otlp "1.49.0"]
|
2024-08-21 08:20:20 +00:00
|
|
|
#_[io.opentelemetry/opentelemetry-exporters-jaeger "0.9.1"]
|
2024-10-30 15:39:51 +00:00
|
|
|
[metosin/jsonista "0.3.13"]
|
2024-05-03 07:23:59 +00:00
|
|
|
[com.draines/postal "2.0.5"]
|
|
|
|
|
[org.julienxx/clj-slack "0.8.3"]]
|
2023-10-16 08:50:36 +00:00
|
|
|
|
|
|
|
|
:plugins
|
2025-02-20 21:56:30 +00:00
|
|
|
[[lein-pprint "1.3.2"]
|
|
|
|
|
[lein-ancient "0.7.0"]
|
|
|
|
|
[lein-cljsbuild "1.1.8"]]}}
|
2023-10-16 08:50:36 +00:00
|
|
|
|
|
|
|
|
:cljsbuild
|
|
|
|
|
{:test-commands {"node" ["node" "target/test.js"]}
|
|
|
|
|
:builds
|
|
|
|
|
[{:id :main
|
|
|
|
|
:source-paths ["src"]
|
|
|
|
|
:compiler
|
|
|
|
|
{:output-to "target/main.js"
|
|
|
|
|
:optimizations :advanced}}
|
|
|
|
|
|
|
|
|
|
{:id :test
|
|
|
|
|
:source-paths ["src" "test"]
|
|
|
|
|
:compiler
|
|
|
|
|
{:output-to "target/test.js"
|
|
|
|
|
:target :nodejs
|
|
|
|
|
:optimizations :simple}}]}
|
|
|
|
|
|
|
|
|
|
:aliases
|
|
|
|
|
{"start-dev" ["with-profile" "+dev" "repl" ":headless"]
|
|
|
|
|
"build-once" ["do" ["clean"] ["cljsbuild" "once"]]
|
|
|
|
|
"deploy-lib" ["do" ["build-once"] ["deploy" "clojars"] ["install"]]
|
|
|
|
|
|
2024-04-09 17:31:51 +00:00
|
|
|
"test-clj" ["with-profile" "+c1.12:+c1.11:+c1.10" "test"]
|
|
|
|
|
"test-cljs" ["with-profile" "+c1.12" "cljsbuild" "test"]
|
2024-08-21 08:20:20 +00:00
|
|
|
|
2024-12-20 14:08:15 +00:00
|
|
|
"test-clj-ott-off" ["with-profile" "+ott-off" "test-clj"]
|
2024-08-21 08:20:20 +00:00
|
|
|
"test-all" ["do" ["clean"] ["test-clj"] ["test-clj-ott-off"] ["test-cljs"]]})
|