-
Notifications
You must be signed in to change notification settings - Fork 90
Error while fetching dependency information from BOM with Gradle metadata published using Gradle 5 #263
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
Comments
Thanks for sample that reproduces the problem, @bclozel. I had to tweak it slightly now that you've stopped publishing the metadata in Framework's build. Pointing it at Here's a sample that reproduces (for now at least) the problem without involving the dependency management plugin at all:
|
Thanks for the repro project, I'm closing this issue in favour of gradle/gradle#11536 |
This is now breaking Spring Boot 2.2.3 as Kotlin Coroutines is publishing Gradle metadata using Gradle 5.6.x. Specifically the metadata associated with the Coroutines bom that is imported by While we could ask the Kotlin team to stop publishing the metadata or to upgrade to Gradle 6 (it publishes metadata that Gradle 5 ignores), that's only a point solution. We'll have the same problem again if another project starts publishing Gradle metadata for their bom. |
After publishing Gradle metadata for the Spring Framework (see spring-projects/spring-framework#23503), we've found that it is causing issues for dependency management users.
Using the following build file with a BOM that is also publishing Gradle metadata + Gradle 5.6.x fails:
Full error message:
Note that as a result Spring Framework 5.2.2 SNAPSHOTs aren't publishing Gradle metadata anymore, for now. Also, this is working fine with Gradle 6+.
The text was updated successfully, but these errors were encountered: