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 fails to resolve dependency net.bytebuddy:byte-buddy #188
Comments
might make things easeier for Gradle, see #188
Depends on the version of Java. The parent POM lists 1.10.0 inside the Java7+ profile and 1.10.10 in the Java14+ profile. It looks as if Gradle didn't mimic maven when several active profiles contribute to I think I added the 1.10.10 version in order to fix the builds on Java 14. Honestly I haven't followed what @krystiankaluzny is doing with the help of bytebuddy in the assertj module closely, no idea whether unconditionally bumping the dependency to 1.10.10 will break anything. I guess we will see what Travis says: c261b72 |
OK, that didn't hurt too much. As I type a 2.8.0-SNAPSHOT build is going up to the Sonatype OSS Nexus. Can you please give it a try with Gradle to see whether it likes to work with that? |
No, this didn't work.
Looking at the
I wonder if Maven projects produce a different result. With regard to profile support in Gradle, yes, Gradle supports Maven profiles to some limited extend.
|
Any suggestion what we should change on our side to make things easier? |
I need to check how it works in Maven first. I keep you posted once I'm clear what can be done. |
@thokuest the doc snippet you've posted indicates gradle wouldn't support profiles triggered by JDK version, so I've now simply moved the |
Thanks @bodewig! Will do once I'm back from vacation! |
Enjoy your vacation @thokuest :-) |
I just checked the latest snapshot build. I decided to setup a Maven project to check whether the build tool is important in some shape of form. The Maven build fails as well with a similar message indicating missing
See reproducer https://github.com/thokuest/xmlunit-issue-188-reproducer for your convenience. Maybe it's an issue in the project, but isn't it so that transitive |
OK, so it seems we're breaking automatic transitive dependency resolution for bytebuddy and force people to explicitly depend on bytebuddy themselves, right? @krystiankaluzny do you recall why you made bytebuddy |
Yes! |
I've changed the scope and am just now publishing new SNAPSHOTs, would be good if you could give it a try. |
2.8.0-SNAPSHOT, that is. |
I've finally released 2.8.0, thanks @thokuest for the patience and for testing. |
The following
build.gradle
snippetfails to resolve Byte Buddy with the following error:
Which version of Byte Buddy do I need to include?
assertj-core
itself depends on Byte Buddy already but shades the dependency into it's own jar.The text was updated successfully, but these errors were encountered: