Create manifest file with all the dependencies of a project


#1

I want to create a manifest file with all the dependencies of my project. How it can be done?

Manifest-Version: 1.0
Class-Path: dependency1.jar dependency2.jar dependency3.jar

I tried getting all the dependencies from “configurations” and convert it to list of files, but no luck this far.