From 53ff10f09b7e731f0d5e29ffdbb421567a3c848d Mon Sep 17 00:00:00 2001 From: Tobias Diez Date: Sat, 12 Oct 2019 12:08:30 +0200 Subject: [PATCH] Remove mods folder in application image Should fix the problem mentioned in https://github.com/JabRef/jabref/pull/5406#issuecomment-541297450 --- build.gradle | 7 +++++++ 1 file changed, 7 insertions(+) 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