This was incredibly useful. I needed to set up a command line gradle pipeline based off of zips containing another developer’s gradle project and gradle cache. This was exactly what I needed. All I had to do was run your script and then modify the build.gradle to contain a maven { url “file://path/to/maven/repo” } in the repositories section. Thanks for sharing this!
Charles
(Churchill)
14
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Cache Dependencies into Local Maven Repository from Gradle | 16 | 53712 | May 21, 2015 | |
| How do i create a local maven/ivy repository and fill it? | 7 | 2494 | November 27, 2014 | |
| How to force to download dependencies into local maven reposity? | 3 | 7930 | February 9, 2015 | |
| Can I use Gradle to suck up a bunch of jars into a Maven local repo? | 4 | 1052 | June 7, 2016 | |
| Gradle offline problems | 19 | 11738 | May 17, 2021 |