diff --git a/modules/dsp/build.gradle b/modules/dsp/build.gradle index be6a043..456376c 100644 --- a/modules/dsp/build.gradle +++ b/modules/dsp/build.gradle @@ -7,5 +7,11 @@ dependencies { } jar { - from configurations.fatjar.collect { it.isDirectory() ? it : zipTree(it) } + from configurations.compileClasspath + // FIXME: This is an ugly hack to include the xchart dependency into the output jar + // For some reason without this filter the module is no longer discoverable by SMNP core. + // Further investigation is required, however this temporary workaround works fine for the time being (11.12.2023). + .filter { it.getAbsolutePath().contains("xchart") } + .collect { it.isDirectory() ? it : zipTree(it) } + duplicatesStrategy = DuplicatesStrategy.EXCLUDE } \ No newline at end of file