nest.repository.support Documentation TaskDoc JavaDoc Packages
  1. nest.repository.support
  2. Bundle management
  3. Bundle downloading

Bundle downloading

Bundle downloading is the process of making the referenced bundle available in the build file system hierarchy. It usually entails localizing the bundles and then copying them into the build directory.

After downloading, you can retrieve the paths to the bundles and pass them to other tasks as input.

nest.bundle.download([
	example.bundle-v1.0,
	second.bundle-v2.0
])

The above example will find the bundles with the specified identifiers, and download them accordingly.

Note that the the task doesn't perform bundle or dependency resolution. The specified bundles must have a version qualifier. You can use the nest.dependency.resolve() task to resolve the most recent version of a given bundle.