Apply temporary workaround for smnp.dsp module to plot charts

This commit is contained in:
2023-12-11 15:02:49 +01:00
parent c020549cac
commit ba606a3059

View File

@@ -7,5 +7,11 @@ dependencies {
} }
jar { 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
} }