diff --git a/tools/gradle-plugin/src/MiraiConsoleGradlePlugin.kt b/tools/gradle-plugin/src/MiraiConsoleGradlePlugin.kt index 427eba7b9..06ea0c733 100644 --- a/tools/gradle-plugin/src/MiraiConsoleGradlePlugin.kt +++ b/tools/gradle-plugin/src/MiraiConsoleGradlePlugin.kt @@ -96,6 +96,9 @@ class MiraiConsoleGradlePlugin : Plugin { compilations.forEach { dependsOn(it.compileKotlinTask) from(it.output) + for (allKotlinSourceSet in it.allKotlinSourceSets) { + from(allKotlinSourceSet.resources) + } } from(project.configurations.getByName("runtimeClasspath").copyRecursive { dependency ->