Prepare for tooling API by ajoberstar · Pull Request #188 · clojurephant/clojurephant

@ajoberstar self-assigned this

Aug 7, 2022
This builds an EDN version of the Clojurephant model, for use by
Gradle's tooling API. The plan is to leverage this in the new
clojurephant-tooling library, which will provider ways to start various
tasks, e.g. clojurescript builds and repls.
There was a mistake in the new logic for putting source on the REPL
classpath, that meant a project using both Clojure and ClojureScript
plugins would only end up with one on the classpath.

This new behavior delays evaluation of which source to include and is
now safe for both plugins to be applied.
Only when we are sending the options over to the compiler should we
quote them. We don't want the EDN we send to the tooling API to
include the quote.
Provides more detail to the tooling API.