leiningen

Yuner Bekir 2022-09-28T12:30:24.883609Z

Hello! I have the following in my project.clj file. Since the jars inside will by dynamically populated, is there a way I could just say include all jars in directory foo? I tried searching for a plugin but no success.

:resource-paths ["foo/doo-1.0.jar"
                   "foo/goooo-1.0.jar"]

Yuner Bekir 2022-09-29T11:51:11.139279Z

@vemv thanks your solution worked ❤️

vemv 2022-09-29T11:54:21.637049Z

cheers 🍻

vemv 2022-09-28T14:25:14.851009Z

:resource-paths ~(any (custom :code :here))

vemv 2022-09-28T14:25:23.480829Z

~ allows you to eval whatever you want

Yuner Bekir 2022-09-28T14:31:33.312919Z

thanks I will give it a try