Add than 50 external jar files

Hi all, I want to use some external libraries (.jar) in the program are more than 50 .jar files, are not in maven so I can only include them by hand. I’ve seen other posts as include a library but is there any way to include them all without going one to one ?. The idea is to indicate a directory where they are the libraries without indicating the libraries one by one.

Since Studio version 2.2.1 you can use file dependencies in the following format:

fileTree(dir: 'libs', include: ['*.jar'])
1 Like

Thanks Konstantin, I understand that the first sentence is to include a single .jar file does well or can also include * .jar?. In the second sentence, what is the path for the directory ‘libs’?

Solved Konstantin.