'gradle dependency:resolve analog like in maven
What analog of Maven:
$ mvn dependency:resolve
which is:
$ mvn help:describe -Dcmd=dependency:resolve
Mojo: 'dependency:resolve'
dependency:resolve
Description: Goal that resolves the project dependencies from the
repository.
for Gradle?
Solution 1:[1]
Thanks to Eugen:
$ gradle --refresh-dependencies
Sad that gradle in any case want to build project! Seems that this because gradle too dumb (actually it have build instruction instead of project model for multi-module project). Maven is better handle situation in this case.
PS To avoid extra steps (like test) explicitly state only compilation:
$ gradle --refresh-dependencies compileJava
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 |
