When I execute
gradle jar at the top level of a multiproject, I expect the resulting artifacts to include the classes from child projects. By default, Gradle does the dumb thing, only including classes from the top-level project.
There is a workaround ( see How to .jar all .class output from all sub-projects into one jar? ), but it’s dumb to have to look this up, when it’s such an obvious thing that Gradle should simply do by default.
Can we fix the default behavior in a future version of Gradle?