leiningen

RAJKUMAR 2024-07-04T01:59:46.183389Z

Hi I've question about using https://github.com/jcrossley3/lein-modules for leiningen project

RAJKUMAR 2024-07-12T20:22:05.137679Z

yeah 😞

RAJKUMAR 2024-07-12T20:22:20.479509Z

anyways, Thanks @seancorfield!!!

seancorfield 2024-07-12T20:35:08.862619Z

Switch to deps.edn... go on... you know you want to... 😄

RAJKUMAR 2024-07-12T20:38:46.973359Z

I tested lein-modules for my hobby project 🙂

RAJKUMAR 2024-07-04T02:00:20.013549Z

I've created multi module https://github.com/rajcspsg/lein-multi-module-app

RAJKUMAR 2024-07-04T02:00:42.309849Z

it contains to sub modules module/common and module/cli

RAJKUMAR 2024-07-04T02:01:11.586179Z

module/cli depends upon module/common

RAJKUMAR 2024-07-04T02:02:49.416189Z

the dependency is not working for some reason. For example common.core is not recognized in https://github.com/rajcspsg/lein-multi-module-app/blob/main/module/cli/src/cli/core.clj

RAJKUMAR 2024-07-04T02:02:53.655579Z

Any idea?

seancorfield 2024-07-04T02:26:38.013699Z

I cloned your project and tried to run lein modules install and it failed like this:

Error encountered performing task 'install' with profile(s): 'inherited,base,system,user,provided,dev'
java.lang.IllegalArgumentException: Bad artifact coordinates common:common:jar::version, expected format is <groupId>:<artifactId>[:<extension>[:<classifier>]]:<version>

seancorfield 2024-07-04T02:48:15.563799Z

Ah, lein-modules stopped working in Leiningen 2.9.3 -- see https://github.com/jcrossley3/lein-modules/issues/45