Skip to content
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

Gradle plugin fails randomly #3876

Closed
patrickpichler opened this issue Feb 11, 2021 · 2 comments · Fixed by #3877
Closed

Gradle plugin fails randomly #3876

patrickpichler opened this issue Feb 11, 2021 · 2 comments · Fixed by #3877

Comments

@patrickpichler
Copy link
Contributor

Hi,

I'm experiencing a strange issue. For some reason the resolve task fails for some people but
not for others.

We narrowed the issue down that it has to be somehow classpath ordering related, as we have
two conflicting versions of swagger-core in our classpath. This is an issue of its own but we
never noticed, as the build never failed.

I guess the reason we experiencing this, is that the resolve task uses an Set to filter out
duplicated urls here.
As this set then gets transformed to an array the ordering is not stable. Which means that
for some of my colleagues the wrong version is earlier in the resulting url classpath causing
the build to fail.

@patrickpichler
Copy link
Contributor Author

This is fixed by #3877

@frantuma
Copy link
Member

Thanks for reporting and providing the fix! merged #3877

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants