-
Notifications
You must be signed in to change notification settings - Fork 3
Building CAViewer
jedlimlx edited this page Aug 15, 2020
·
1 revision
- JavaFX for GUI
- JUnit for Unit Tests
- javatuples for tuples.
CAViewer v2 uses Gradle as a build system.
To run the application without the executables, you will first need to install the JDK.
Note that there is no need to install anything other than the JDK.
- Run
gradlew build
- Run
gradlew run
This is useful if you are modifying CAViewer.
- Run
gradlew build --build-file build2.gradle
.
The jar will be generated in build/libs. This jar will be able to run on Linux, Mac and Windows provided that JRE / JDK 11 or higher are installed.
- Run
gradlew build
.
- Run
gradlew jpackage
Note that this requires JDK 14 or higher.
Afterwards, the exectuable will be generated in build/jpackage.
Changing skipInstaller from false to true in build.gradle will generate an installer instead.
On Windows, this will requires that you have the WiX Toolset installed.