This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-01-09
Channels
- # announcements (9)
- # beginners (69)
- # cider (4)
- # clj-kondo (8)
- # cljdoc (1)
- # clojure (52)
- # clojure-austin (4)
- # clojure-europe (22)
- # clojure-nl (2)
- # clojure-norway (14)
- # clojure-uk (3)
- # clojurescript (9)
- # conjure (4)
- # cursive (3)
- # datalevin (13)
- # datomic (4)
- # events (2)
- # fulcro (59)
- # graalvm (17)
- # helix (25)
- # inf-clojure (4)
- # integrant (4)
- # introduce-yourself (2)
- # java (5)
- # kaocha (1)
- # leiningen (3)
- # meander (7)
- # nbb (4)
- # off-topic (30)
- # portal (4)
- # rdf (1)
- # reagent (5)
- # sci (1)
- # shadow-cljs (57)
- # sql (8)
- # tools-deps (39)
- # uncomplicate (3)
- # vim (3)
- # xtdb (8)
I’m fuzzy on how to add a Java library to a Clojure project. It’s this one https://github.com/DataDog/datadog-api-client-java Do I need to compile the Java, like discussed https://gamlor.info/posts-output/2019-10-24-compile-java-with-clojure-deps/en/?
It's very similar to using a Clojure library. You can find it in http://mvnrepository.com -> https://mvnrepository.com/artifact/com.datadoghq/datadog-api-client The page also contains an example code for leiningen: https://mvnrepository.com/artifact/com.datadoghq/datadog-api-client/2.6.0
[com.datadoghq/datadog-api-client "2.6.0"]
For deps.edn you would use an equivalent:
com.datadoghq/datadog-api-client {:mvn/version "2.6.0"}