-
-
Notifications
You must be signed in to change notification settings - Fork 6.9k
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][Volley] Build fixes #18899
Conversation
thanks for the PR can you please run the following to update the samples?
(you may need to run it twice if there are new files) |
Done |
looks good. if you run gradle build under |
As it is incompatible with Android
This fixes building with current Android Studio. Android Gradle plugin version 8.0.0 was chosen for wider compatibility with Android Studio versions (as far back as 2022.2.1). The Maven plugin has been abandoned since the functionality is now built in, and manual jar tasks are not necessary with it.
5b99f6f
to
84d623e
Compare
Well.. it didn't without modifications as there was the I was a bit afraid to break backwards compatibility or whatever but since we're in |
thanks for the PR, which has been merged. would appreciate if you can file another PR to remove it as it's been abandoned. |
That's what was already included in the latest revision! :)
Lines 80 to 92 in 989a798
|
I see 👍 |
when you've time, can you please PM me via Slack? |
btw, it would be nice to have Github workflow to test the Android petstore clients similar to https://github.com/OpenAPITools/openapi-generator/blob/master/.github/workflows/samples-java-client-jdk11.yaml for Java Petstore clients. |
yeah. Sorry, I'm not really personally interested in picking this up, just fixing all the issues a company that hired me has encountered with their generated client libraries.. |
no need to sorry let's say if someone else have time to contribute the workflow thanks again for the PR |
These changes were required to make generated Volley code build with current Android SDK.
@jaz-ah
PR checklist
Commit all changed files.
This is important, as CI jobs will verify all generator outputs of your HEAD commit as it would merge with master.
These must match the expectations made by your contribution.
You may regenerate an individual generator by passing the relevant config(s) as an argument to the script, for example
./bin/generate-samples.sh bin/configs/java*
.IMPORTANT: Do NOT purge/delete any folders/files (e.g. tests) when regenerating the samples as manually written tests may be removed.
master
(upcoming 7.6.0 minor release - breaking changes with fallbacks),8.0.x
(breaking changes without fallbacks)