Get list of dependencies without finding JARs?

Viewed 25

I am behind a proxy and when I run Gradle my build fails with:

Failure: Build failed with an exception.
Could not find ......jar
Searched in the following locations:
    https:/...

This is expected behaviour because the proxy blocks that particular artifact. Now I need to get that artifact unblocked within my organisation.

The problem is when I get the artifact unblocked and run the build again I get the same error but this time for a different artifact.

Is there a way I can get the whole list of dependencies in Gradle without it trying to get the actual JARs? That way I will know all of the artifacts which need to be checked are available (and deal with getting them unblocked).

1 Answers

Yes there is , You can try to gradle dependencies with command line and this will return a list of all the needed dependencies for this build .

and am not pretty sure why your facing this issue , if your whole network is behind a proxy a simple gradle specific proxy setup will fix this issue for you , i think this answer might be helpful .

Related