Automatically add optional res folder into output

This commit is contained in:
downthecrop 2024-10-08 01:28:12 -07:00
parent 310c88600a
commit a31437ef82

View file

@ -110,4 +110,10 @@ task buildPlugins(type: Copy, dependsOn: classes) {
from "build/classes/kotlin/main" from "build/classes/kotlin/main"
into pluginsPath into pluginsPath
} }
// Find and copy any 'res' directories from 'src/main/kotlin/**/res/'
copy {
from fileTree(dir: "src/main/kotlin", include: "**/res/**")
into pluginsPath
}
} }