How to find dependency of gradle generated jar?


(kavinks) #1

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.


(Peter Niederwieser) #2

There is no such built-in feature, but you could, say, use a ‘GenerateMavenPom’ task and include the generated POM in the Jar.


(Clark Breyman) #3

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