This message was deleted.
# community-support
s
This message was deleted.
v
Probably only by using the
idea-ext
plugin and a post-sync task that changes the module file or hacks like that. Btw. it is practically always a better idea to use a
flatDir
repository than
files
or
fileTree
if possible, for example for dependency reports, build scans and so on, where the latter would not appear at all currently while the former would.
j
How
flatDir
can help here? I’d assume I could point to my directory and use a relative path in
implementation(file("lib/app.jar"))
, but no. 🤔
v
I'm sorry if I was unclear. That was a general advice. It has no influence on the actual question.
j
Still I failed understanding how to refer to items provided by the
flatDir
.
v
The JavaDoc of it lists the patterns that are searched. You declare normal dependencies, just maybe without group and maybe without version. You indeed do not say "all in lib", for that you would probably iterate over the lib contents and declare dependencies from that