This is a Kotlin gRPC project built with Gradle, packaged with the shadowJar plugin. Issuing an RPC succeeds when I use `./gradlew run`, and fails when I use `./gradlew runShadow` (which builds an uber-jar and runs it).
It says "Exception in thread "main" io.grpc.StatusException: UNKNOWN" and "Caused by: java.nio.channels.UnsupportedAddressTypeException". The sample project and full stack trace are at
https://github.com/curtisullerich/shadow-grpc.
This is hopefully an issue with how I've configured my build, and I'm hoping that the error that gRPC throws can help point out the problem. The supposedly unsupported address type is simply "localhost". It makes me think that some runtime dependency must not be found. I checked the class files present in both cases and they were the same, but they appear in the classpaths in a different order. Fiddling with the ordering of the classpath entries yielded no discoveries.
Any ideas or pointers?
Thanks,
Curtis