This repository has been archived by the owner on Mar 5, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
We now require JDK 11+ to keep up to date with Java's development. Since Java 11+ does not come with JavaFX any more, we bundle JavaFX in our shadow JAR so users can run it without installing JavaFX separately. [1/7] build.gradle: fix checkstyle plugin failure [2/7] build.gradle: add platform-specific javafx runtime dependencies [3/7] Change the entry point of addressbook [4/7] build.gradle: add javafx runtime dependency for all platforms [5/7] Workaround headless test failure on Windows OS [6/7] Workaround coveralls upload failure on Travis CI [7/7] Upgrade to JDK 11
- Loading branch information
Showing
12 changed files
with
81 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,6 @@ | ||
org.gradle.parallel=false | ||
org.gradle.jvmargs=-XX:MaxMetaspaceSize=512m -XX:+HeapDumpOnOutOfMemoryError -Xmx1024m -Dfile.encoding=utf-8 | ||
|
||
# TODO: This is a workaround for a JDK11 bug which causes test coverage upload to fail. | ||
# Remove it when https://bugs.openjdk.java.net/browse/JDK-8221253 is fixed. | ||
systemProp.jdk.tls.client.protocols="TLSv1,TLSv1.1,TLSv1.2" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
package seedu.address; | ||
|
||
import javafx.application.Application; | ||
|
||
/** | ||
* The main entry point to the application. | ||
* | ||
* This is a workaround for the following error when MainApp is made the | ||
* entry point of the application: | ||
* | ||
* Error: JavaFX runtime components are missing, and are required to run this application | ||
* | ||
* The reason is that MainApp extends Application. In that case, the | ||
* LauncherHelper will check for the javafx.graphics module to be present | ||
* as a named module. We don't use JavaFX via the module system so it can't | ||
* find the javafx.graphics module, and so the launch is aborted. | ||
* | ||
* By having a separate main class (Main) that doesn't extend Application | ||
* to be the entry point of the application, we avoid this issue. | ||
*/ | ||
public class Main { | ||
public static void main(String[] args) { | ||
Application.launch(MainApp.class, args); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters