I have some requirements for an init script and am looking for working examples to base mine on.
- I need to remap external maven repository URL to an internal Nexus proxy
- My repositories are by default public read only so when publishing I need gradle have access secure password store (no clear text passwords on the disk!)
- I need a solution that can work both for CI server as well as individual developers
The spring project has a good starting example: https://github.com/spring-projects/gradle-init-scripts
I’m looking to augment this by reusing the Git credential helper API https://git-scm.com/docs/git-credential. All of our users are already Git users and are using a Git credential helper today.