Open RadoBuransky opened 1 year ago
The typesafe config is part of the API (ConfigRepository takes config), shading it can be possibility, but it would break current code. Can you use the same version of typesafe config as is used by the core?
Regarding com.google, that looks like a bug (errorprone, thirdparty).
See datadrivencz#735
It would make sense to me to declare non-shade-relocated dependencies in POM ( and exclude from shaded JAR ) so they are a) directly visible to dev as to what is being used and b) let consumers of library resolve version conflicts via their build tools
That makes sense. It would require some tools checking the API surface, so that the final jar actually contains only classes from cz.o2.proxima.*
and all the rest would be excluded from shade. It would also require to publish the dependency-reduced.pom, which I'm not sure if we do now.
Current version
0.9.0
of the library produces JAR file which containscom.typesafe.config
,com.google.*
which causes runtime issues for the consumers of this library due to classpath conflicts. Please relocate/shade/rename these packages. Thanks