From a31437ef82bc8d1d2e5ca5890391fcafb92dd31e Mon Sep 17 00:00:00 2001 From: downthecrop Date: Tue, 8 Oct 2024 01:28:12 -0700 Subject: [PATCH] Automatically add optional res folder into output --- plugin-playground/build.gradle | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/plugin-playground/build.gradle b/plugin-playground/build.gradle index c5f4a9f..a1644a7 100644 --- a/plugin-playground/build.gradle +++ b/plugin-playground/build.gradle @@ -110,4 +110,10 @@ task buildPlugins(type: Copy, dependsOn: classes) { from "build/classes/kotlin/main" into pluginsPath } + + // Find and copy any 'res' directories from 'src/main/kotlin/**/res/' + copy { + from fileTree(dir: "src/main/kotlin", include: "**/res/**") + into pluginsPath + } } \ No newline at end of file