I need to collect all dependencies for my project (Java/Kotlin, using Gradle): include plugins and all deps.
Why? Because i need to build my projects with another Nexus (isolated Nexus in isolated environment).
I want to do it with two steps:
- Collect all deps and move it to isolated Nexus
- Build projects with isolated Nexus which contains all deps of my
project (through previous step)
Gradle version 7.2+
Already tried gradle tasks dependencies
and buildEnvironment
, but it’s not appeared to show all deps (for example transitive deps).
Now i can collect all deps by searching .gradle/caches
and parse dirs with deps. But i think Gradle can do it without my dirty hack solution.