-
Notifications
You must be signed in to change notification settings - Fork 6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Android] use additional properties to manage Android version numbers more easily #5422
Comments
There should be three different variables:
|
@auchri thanks for the elaboration. |
Do we really need to add so much options just to change a version in a gradle file ? |
@cbornet we can start with just |
@wing328 Hello. I'm encountering problem when I want to set to set such properties while building retrofit2 library. Retrofit2 library missing in "android languge" package so I have to build it from java package. |
@aleksandr1592 yes, we would welcome contribution (PR) to add those to the Java (retrofit2) client generator. |
Description
As discussed in #5250, we want to leverage additional properties to more easily manage Android version numbers in the gradle files generated as part of the Android API client.
We want to replace android version number with {{androidVersionNumber}} tag in the mustache templates so that users can set it directly via
--additional-properties
when generating the API clients.Swagger-codegen version
Latest master
Suggest a Fix
If anyone has questions/suggestions or wants to work on this enhancement, please reply to let us know. Thank you.
The text was updated successfully, but these errors were encountered: