@dpsutton here is an example boot file with deps for creating uberjars https://github.com/dundalek/closh/blob/master/build.boot#L11 (cc: @seancorfield
I ran into an issue with a git dependency that was overriding a nested dependency (tools.reader). This was "fixed" by adding several extra exclusions https://github.com/dundalek/closh/blob/master/deps.edn#L21-L25
Is anyone aware of a tool or plugin for boot that lists all the top level dependencies (ideally with version / license info if available)?
(or a maven / lein tool that does something like that 😛 )
incidentally boot pom
outputs nothing
boot show
is going to get you close.
./boot pom target
generates the pom in the target folder, which after some manual changes can be used to run mvn site
which does exactly what I need 🙂
(I needed to manually add some extra repositories like clojars and update the maven plugin to a more recent version)
I'm trying to discover the best way to have my java source code available in my cider emacs repl.
Should I put a (javac) in my repl task-option?
Or should I make a dev task that has (comp (javac) (repl)) and then get cider to use that task instead of the repl task?
The latter should work
You can also unmap the original repl task (ns-unmap 'repl)
and define your own as (deftask repl [] (comp (javac) (boot.task.built-in/repl)))
. That way, for example, cider-jack-in
will also compile the Java files.
However, all these options force you to restart the REPL whenever you change Java files. For much more sane workflow, check https://github.com/ztellman/virgil#boot
wow! thanks @alexyakushev
I've been unsuccessfully playing with .dir-locals.el but no joy
I'll try virgil
Hmm, looks like there's a bug in virgil for my setup. I might just call (boot (javac)) from the repl - that seems to work.