swagger-api / swagger-api/swagger-codegen
[codegen][JAVA] configure jcenter url
Nobody has claimed this yet.
- Dominant language
- Mustache
- Stars
- 17.8k
- Forks
- 6k
- PR merge metrics
- No merged PRs in 30d
Description
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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the generated build.gradle for the Java generator and the command-line handling for -l java. Review how generator options are passed into templates, then define completion as supporting the requested private repository and Gradle distribution URLs and the specified Gradle version.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- build-system
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100