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
[BUG] [GRADLE] Custom generator task fails in gradle 5+ #2648
Comments
I'm also experiencing this. |
I think #2651 should fix it. |
Will it fix it or just detect it? Seems to me that it should reproduce the issue, but since it is just changes to tests I'm not sure how it will fix it. ¯\(ツ)/¯ |
@Ranbato the CI tests ran Here is the log: https://ci.appveyor.com/project/WilliamCheng/openapi-generator/builds/23797115 |
Looks like it is fixed in the 4.0.0 beta |
PR (#2651) has been merged into master. Please give it another try. |
Bug Report Checklist
3.3.4
Description
Building using custom (e.g. additional) tasks fails when using gradle 5.0 or greater with the following error
It can be duplicated with the included samples modules/openapi-generator-gradle-plugin/samples/local-spec/build.gradle
openapi-generator version
openapiGeneratorVersion = '3.3.4' and latest
OpenAPI declaration file content or url
Command line used for generation
gradle buildGoSdk --info
Steps to reproduce
set default gradle to 5.0 or higher. I have tested with 4.10, 5.1 and 5.3
clone repo
cd /openapi-generator/modules/openapi-generator-gradle-plugin/samples/local-spec
gradle buildGoSdk --info
Related issues/PRs
None found
Suggest a fix
detekt/detekt#1421 seems similar, but I haven't been able to find a similar solution
The text was updated successfully, but these errors were encountered: