Fork me on GitHub
#boot
<
2018-10-24
>
jeroenvandijk09:10:03

@dpsutton here is an example boot file with deps for creating uberjars https://github.com/dundalek/closh/blob/master/build.boot#L11 (cc: @seancorfield

👍 8
jeroenvandijk09:10:08

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

joelkuiper17:10:19

Is anyone aware of a tool or plugin for boot that lists all the top level dependencies (ideally with version / license info if available)?

joelkuiper17:10:37

(or a maven / lein tool that does something like that 😛 )

joelkuiper17:10:12

incidentally boot pom outputs nothing

seancorfield18:10:56

boot show is going to get you close.

joelkuiper19:10:26

./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 🙂

joelkuiper19:10:13

(I needed to manually add some extra repositories like clojars and update the maven plugin to a more recent version)

pauld20:10:19

I'm trying to discover the best way to have my java source code available in my cider emacs repl.

pauld20:10:56

Should I put a (javac) in my repl task-option?

pauld20:10:28

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?

alexyakushev21:10:47

The latter should work

alexyakushev21:10:33

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.

alexyakushev21:10:53

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

pauld21:10:59

I've been unsuccessfully playing with .dir-locals.el but no joy

pauld21:10:09

I'll try virgil

pauld22:10:35

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.