-
Notifications
You must be signed in to change notification settings - Fork 103
Is there any way to use MessageDifferencer from this repo by adding a maven dependency in my code? #579
Comments
Hey :) |
@oferb Thanks for the quick response. I went through that repo too, but in that repo this class is made private https://jar-download.com/artifacts/com.google.truth.extensions/truth-proto-extension/0.39/source-code/com/google/common/truth/extensions/proto/MessageDifferencer.java. Any way I can use truth library to receive a boolean instead of assert for Message comparisons that you might be aware of? |
Maybe you can send them a PR? :-)
But you can also just copy the class and use it.. or maybe in the meantime until they accept your PR :)) |
I tried copying the class locally but faced compilation issue of dependency I have added auto.value and auto.value.annotation to dependencies |
I'll mark this as resolved here. Thanks for the help :) |
Hi @sumitbh250 , did you manage to use this MessageDifferencer class? |
@frankfighton fyi, if you'd like to use
|
@sumitbh250 so you ended up copy the class to your local and updated the dependency like @drather19 mentioned? MessageDifferencer is exactly what I am looking for. I see there is an open issue here google/truth#656 |
No description provided.
The text was updated successfully, but these errors were encountered: