D
D
Dmitry Osipov2019-10-18 14:15:00
Java
Dmitry Osipov, 2019-10-18 14:15:00

How to automatically pull dependencies into your library?

I use Gradle 5.5 I
have my own library, I add a dependency to it, for example, from jackson.
The library is going, everything is wonderful, the output is a jar file. When adding this jar as a dependency to a project that doesn't have a jackson dependency, I naturally get an error. I need it to automatically pull all its dependencies when adding a lib to the project. As I understand it, for this I have to have a pom.xml inside my lib in the META-INF folder
How can this be implemented in gradle?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question