My project has a folder called dist that contains some stuff I'd like to include in the shadow jar. The application plugin has a property called "applicationDistribution" to address this topic. In my build.gradle I added the following line:
applicationDistribution.from(distDir){
include "*.jpg"
}
While this is working for the application plugin, the shadow plugin seems to ignore this property.