I have a project that has a "resources" library (not java based). It simply contains a hierarchy of files that are used by multiple java projects
library files binaries etc In one of my java projects, I want to include these files in the assembled jar file
// current definition of a sample project project("java_project") { // dependencies omitted jar { from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } } manifest { attributes("Main-Class": "mymainclass") } } } project("library") { // is in settings.gradle } How would I update the jar with the other project resources? I need them outside of the project because the same resources are shared by multiple projects.