Closed n-shaw closed 2 months ago
@anthonydahanne - Since it can take time for changes to get released, consumed, and then brought in to each customer's environment, I was hoping you could take a look at this issue at your earliest convenience. Thank you for your consideration.
Hello ! Can we close this issue? I believe all is well now between java-cfenv shading and json-io since this commit got merged in? Thanks!
Thanks, @anthonydahanne.
Describe the bug
The shadowJar task in the
java-cfenv-all
build.gradle is relocating with a package name that is too specific. This can cause issues with customers who depend on json-io in their projects (directly or indirectly/transitively) when their apps are deployed/packaged with the buildpack uberjar.Instead of
com.cedarsoftware.util.io
, it should simply becom.cedarsoftware
. Otherwise, there will be about 20json-io
classes left in the original package, while the rest move underio.pivotal.cfenv.shaded.com.cedarsoftware.util.io
.The
relocate
step should say:Reproduction steps
Expected behavior
All of the classes from
json-io
should be in theio.pivotal.cfenv.shaded.com.cedarsoftware
namespace.Additional context
No response