This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2024-01-03
Channels
- # aleph (2)
- # announcements (6)
- # babashka (6)
- # beginners (106)
- # biff (8)
- # clara (24)
- # clj-kondo (10)
- # clj-otel (4)
- # cljdoc (2)
- # clojure (54)
- # clojure-conj (3)
- # clojure-europe (85)
- # clojure-norway (54)
- # clojure-uk (3)
- # clojurescript (27)
- # community-development (2)
- # data-science (1)
- # datahike (2)
- # datomic (11)
- # deps-new (67)
- # emacs (4)
- # graalvm (15)
- # hyperfiddle (11)
- # introduce-yourself (1)
- # lsp (6)
- # malli (30)
- # midje (4)
- # nrepl (13)
- # off-topic (86)
- # polylith (7)
- # releases (2)
- # sql (10)
We have java classes to interop, and polylith warns about this as 'Non top namespace'. for example:
(ns example.user.core
(:import [com.external.Module M]))
;; M.class is under /components/user/classes/com/external/Module
I suspect this is a false alarm, but I was wondering if it is possible to turn off the warning for this file only.If you move the Java files to resources
and the test code to test-resources
then you will get rid of the warning.
It doesn't consider what's in resources
as source code, so these files will not be checked.
Hi guys. for medium-size polylith project- I’m trying to create a test-utils component to be used across the project. so I put all the relevant namespaces under test
directory (not src) and on deps.edn added it only under :test :extra-path
, but when I’m running poly test
it seems not to recognize the new component’s path. any ideas? tnx 🙏
You can have a look at the https://github.com/polyfy/polylith/tree/master/components/test-helper in the polylith workspace. It stores the source code in src
but are used by a couple of other components from their test context.