I'm in the process of writing up a procedure for the latest cider with alternative repls.
Here's the relevant bits of how leiningen starts a repl: https://github.com/technomancy/leiningen/blob/master/src/leiningen/repl.clj#L116 https://github.com/technomancy/leiningen/blob/master/src/leiningen/repl.clj#L131 Don't be scared by the quoting stuff. Essentially, it has to build up a nrepl handler using the 'middlewares' defined in the project.clj (you won't have one of those). Then it passes that handler to clojure.tools.nrepl.server/start-server. That impl is here: https://github.com/clojure/tools.nrepl/blob/master/src/main/clojure/clojure/tools/nrepl/server.clj#L121 If you're using the latest melpa cider (0.7.0alpha), you'll have to futz with middlewares (the leiningen plugin would normally take care of this for you), I haven't yet tested this myself. On Sat, May 10, 2014 at 7:00 AM, Catonano <caton...@gmail.com> wrote: > Hello > > I use to press M-. in Emacs to jump to the definition of a function and > M-, to jump back to where I came from > > This requires an nREPL to be working > > Now I'd like to explore a project using Gradle. > > Can I get an nREPL with Gradle ? Can Gradle export a project file so that > I can use lein to have an nREPL ? > > > -- > You received this message because you are subscribed to the Google > Groups "Clojure" group. > To post to this group, send email to clojure@googlegroups.com > Note that posts from new members are moderated - please be patient with > your first post. > To unsubscribe from this group, send email to > clojure+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/clojure?hl=en > --- > You received this message because you are subscribed to the Google Groups > "Clojure" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to clojure+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.