Bundling of dependency in production environment

Hello,

I work in the product which is packaged and shipped. It has multiple java projects and gradle is used for building and managing dependencies. Currently we are bundling all the dependencies and transitive dependencies (jars) in a specific folder via writing some copy task in gradle, and adding the location of those jar in Manifest file of executable Jar and only packaging the dependency jars and executable jar in production.
The problem here is, I am assuming this as the workaround solution so looking forward to know if this is the standard approach of doing things via gradle in this scenario or is there some standard approach/convention which I am missing?

Thank you in advance! :slight_smile:

Hello,

The Application Plugin should cover your needs.