Skip to content

Commit

Permalink
Fix main class name (#5251)
Browse files Browse the repository at this point in the history
* Fix main class name

Reverts ba60cbe. 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.

* Update build.gradle
  • Loading branch information
tobiasdiez authored Sep 8, 2019
1 parent 3b85906 commit 8bb6380
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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/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
Expand Down

0 comments on commit 8bb6380

Please sign in to comment.