diff --git a/build.gradle b/build.gradle index 7b273ae5fd4..0ca8b3ee476 100644 --- a/build.gradle +++ b/build.gradle @@ -633,6 +633,13 @@ if (OperatingSystem.current().isLinux()) { } } +// Delete unnecessary folder in application image +// TODO: Remove this workaround as soon as https://github.com/beryx/badass-jlink-plugin/issues/51 is fixed +task deleteModsFolder(type: Delete) { + delete "$buildDir/distribution/JabRef/app/mods" +} +deleteModsFolder.shouldRunAfter jpackageImage + jmh { warmupIterations = 5 iterations = 10