From e58f6dd27cd37521c837a45e63b6aa53aa02a847 Mon Sep 17 00:00:00 2001 From: Tobias Diez Date: Wed, 28 Aug 2019 16:52:51 +0200 Subject: [PATCH 1/2] Fix main class name Reverts https://github.com/JabRef/jabref/commit/ba60cbe18640611e7d7f0986314c82049668c5f6. According to https://github.com/java9-modularity/gradle-modules-plugin#using-the-application-plugin this is the correct way to specify the main class name. --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 34a396dce45..37c28ba142c 100644 --- a/build.gradle +++ b/build.gradle @@ -55,7 +55,7 @@ project.ext.threeDotVersion = "5.0.0.1" project.ext.install4jDir = hasProperty("install4jDir") ? getProperty("install4jDir") : (OperatingSystem.current().isWindows() ? 'C:/Program Files/install4j8' : 'install4j8') sourceCompatibility = 11 targetCompatibility = 11 -mainClassName = "org.jabref.JabRefLauncher" +mainClassName = "$moduleName/JabRefLauncher" // TODO: Ugly workaround to temporarily ignore build errors to dependencies of latex2unicode // These should be removed, as well as the files in the lib folder, as soon as they have valid module names From abcb75f4a049d14402ab391ee9ddb48e794e2803 Mon Sep 17 00:00:00 2001 From: Tobias Diez Date: Sun, 8 Sep 2019 15:28:16 +0200 Subject: [PATCH 2/2] Update build.gradle --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 37c28ba142c..f3ee31fa4e2 100644 --- a/build.gradle +++ b/build.gradle @@ -55,7 +55,7 @@ project.ext.threeDotVersion = "5.0.0.1" project.ext.install4jDir = hasProperty("install4jDir") ? getProperty("install4jDir") : (OperatingSystem.current().isWindows() ? 'C:/Program Files/install4j8' : 'install4j8') sourceCompatibility = 11 targetCompatibility = 11 -mainClassName = "$moduleName/JabRefLauncher" +mainClassName = "$moduleName/org.jabref.JabRefLauncher" // TODO: Ugly workaround to temporarily ignore build errors to dependencies of latex2unicode // These should be removed, as well as the files in the lib folder, as soon as they have valid module names