.dll multi-file support

Hey! I’m making big application which requires a lot of libraries. If I package all the libraries onto the single .exe file it takes time for the app to load. So, I decided to keep the .dlls separately in my application folder so that my app can call the .dll file anytime. Is this possible in Gradle? I keep my main application in one package and the .dll libraries in another. Please help. I want the source structure to be the same after build. The app will be in the “main” folder and the .dll libraries will be in the “resources” folder after build. If it isn’t possible directly in Gradle, then how to achieve this? I am using Java for my main application. The launcher for my application is made in Python.