The problem is not downloading a dependency, that's easy to do. The problem
is downloading the *build tool* itself. Gradle has a major advantage over
Maven here: the Gradle bootstraps everything. But to bootstrap itself, it
requires the wrapper.

2015-04-16 7:38 GMT+02:00 Bertrand Delacretaz <[email protected]>:

> On Thu, Apr 16, 2015 at 6:53 AM, Andrew Bayer <[email protected]>
> wrote:
> > Kafka downloads the wrapper jar at build time...
>
> FWIW that (old) pom from a Sling module downloads such a dependency
> and caches it locally so that it survives "mvn clean", could be
> useful:
>
>
> https://svn.apache.org/repos/asf/sling/trunk/contrib/extensions/dojo/pom.xml
> (search for "Dynamically download the Dojo Toolkit)
>
> -Bertrand
>

Reply via email to