Is there any option to find the dependencies of a gradle generated jar similar to maven generated jar which contains the pom inside META-INF of that jar.
There is no such built-in feature, but you could, say, use a ‘GenerateMavenPom’ task and include the generated POM in the Jar.
Seems like something that would be desired for compatibility with the addMavenDescriptor option (default true) of the maven archiver. http://maven.apache.org/shared/maven-archiver/#archive