concept local cache in category gradle

This is an excerpt from Manning's book Gradle in Action - corrected 9052019.
At runtime, the declared libraries and their transitive dependencies are downloaded by Maven’s dependency manager, stored in the local cache for later reuse, and made available to your build (for example, for compiling source code). Maven preconfigures the use of the repository, Maven Central, to download dependencies. Subsequent builds will reuse an existing artifact from the local cache and therefore won’t contact Maven Central. Maven Central is the most popular binary artifact repository in the Java community. Figure 1.14 demonstrates Maven’s artifact retrieval process.
In chapter 3, you learned how to declare a dependency on the Servlet API to implement web components for the To Do application. Gradle’s DSL configuration closures make it easy to declare dependencies and the repositories to retrieve them from. First, you define what libraries your build depends on with the dependencies script. Second, you tell your build the origin of these dependencies using the repositories closure. With this information in place, Gradle automatically resolves the dependencies, downloads them to your machine if needed, stores them in a local cache, and uses them for the build.
With automated dependency management, you declare dependencies by unique identifiers within your project without having to manually touch the artifacts. At runtime, the dependent artifacts are automatically resolved in a repository, downloaded, stored in a local cache, and made available to your project. Automated dependency management doesn’t come without challenges. We discussed potential pitfalls and how to cope with them.
Gradle provides powerful out-of-the-box dependency management. You learned how to declare different types of dependencies, group them with the help of configurations, and target various types of repositories to download them. The local cache is an integral part of Gradle’s dependency management infrastructure and is responsible for high-performance and reliable builds. We analyzed its structure and discussed its essential features. Knowing how to troubleshoot dependency version conflicts and fine-tune the cache is key to a stable and reliable build. You used Gradle’s dependency reporting to get a good understanding of the resolved dependency graph, as well as why a specific version of a dependency was selected and where it came from. I showed strategies for changing the default resolution strategy and cache behavior, as well as appropriate situations that make them necessary.