I have a multi-module build with both compile and runtime dependencies on other projects:
dependencies {
compile project(":common")
runtime project(":agents:mqtt")
}
I would expect both to end up in the shadow jar when running gradle shadowJar, but only the "compile project" ones do.
As a workaround, gradle build shadowJar will cause both compile and runtime project dependencies to be bundled.