Fork me on GitHub
#leiningen
<
2017-09-07
>
djjolicoeur01:09:34

If I write a plugin using eval-in-project can I expect the dependencies from the project the plugin is being called in to be in place when calling via lein? the way I have seen this done before is this plugin https://github.com/felixflores/datomic_schema_grapher w/ datomic where you include the plugin in both the dependencies and plugin sections of either a profile or the project.clj. I am doing almost the exact same thing with datomic as far as how it is expected to be pulled in via the project.clj of the project from which it is being called, but datomic seems to always not be found.

djjolicoeur01:09:57

this has me stumped, the plugin I am working on is structurally exactly the same as the above mentioned as far as how datomic is included, yet the above works while mine fails to find datomic from the same project.

djjolicoeur01:09:14

the only reason I do not include it directly as a dependency in the plugin is to avoid datomic version related issues.

djjolicoeur01:09:36

any help would be greatly appreciated