Documentation TaskDoc JavaDoc Packages
  2. Bundle management
  3. Bundle localization

Bundle localization

Bundle localization is the process of making the referenced bundles available on the local machine. It usually entails downloading or otherwise retrieving the given bundles and caching them in the local file system.

Using the nest.bundle.localize() task can be beneficial if you don't need the bundles to be present in the build file system hierarchy, and can use them using a local file system reference.


The above example will find the bundles with the specified identifiers, and localize 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.