swagger-api / swagger-api/swagger-codegen-generators
Make gradle version configurable for kotlin-client
Nobody has claimed this yet.
- Dominant language
- Mustache
- Stars
- 299
- Forks
- 439
- PR merge metrics
- No merged PRs in 30d
Description
Hi guys,
I am using the generator to automate my sdk generation based on the openapi file.
I have noticed the gradle version in the kotlin-client template is hardcoded to 5.3 and I would require the latest version.
Would it be possible to make the version configurable?
I gave it a try but adding a single property was really laborious and I had to drop it.
Probably someone who knows the code better will be able to do it in no time.
Thank you,
Adam
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
Locate the kotlin-client template in the generator and find where Gradle version 5.3 is hardcoded. Trace how template properties are supplied, then make the version configurable and verify that generated Kotlin client build files use the configured value.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- kotlin
- Domain
- build-system
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100