Service descriptor files not merged/transformed in statsd shadowJar (original) (raw)
https://imperceptiblethoughts.com/shadow/configuration/merging/#merging-service-descriptor-files
The file name should be the shaded package name, and the contents of the file should be merged from all shaded dependencies that have the corresponding service descriptor file. In theory, I think the mergeServiceFiles() configuration mentioned in the documentation above should be enough to achieve this. In practice, it doesn't look like it is appending the service implementations in the produced file, but it is at least using the relocated shaded package for the one implementation it does include.