swagger-codegen
swagger-codegen copied to clipboard
[codegen][JAVA] configure jcenter url
Description
I our Company we mirrored the repositories jcenter and maven central. In the generated build.gradle i would optional replace jcenter() with jcenter{url="myprivatemirror"}
Swagger-codegen version
2.4.0
Swagger declaration file content or url
Command line used for generation
-l java
Steps to reproduce
Related issues/PRs
Suggest a fix/enhancement
i am adding a optional command line parameter -DprivateJCenterURL
and by the way i would add a optional parameter -DprivateGradleDistributionBaseURL
to use our internal gradle mirror
and when i am already changing something i would change the gradle version to latest release 4.6
are you interested on a PR ?
thanks andreas