Gradle task to download dependencies


(sergey.morenets) #1

Hi

Maven has verify goal that verifies configuration and download missing dependencies.
Is there similar Gradle task that does the same?

Thanks,
Sergey


(nerro) #2

Hi @Strannik, no, there is nothing like maven dependency:resolve or dependency:resolve-plugins task.

You can take a look on:

P.S. I refactored the gist from matthiasbalke a little bit (now it’s smaller and more reliable) https://gist.github.com/nerro/41cd6f8273a05b3da7cad1f2e9caf1c7


(sergey.morenets) #3

Thank you, @nerro. I will look at these links


(Larry Ricker) #4

The ‘gradle eclipse’ task downloads dependencies and configured eclipse. It does not ‘verify’. A successful ‘gradle build’ will verify your configuration if your app compiles successfully. If you have any errors in your configuration files you will get helpful errors from these commands.