Open lewismorgan opened 5 years ago
Most work for this is already complete now by utilizing the application plugin through gradle. Distribution builds are created using the gradle task 'assembleDist'. Will need to create a custom task for each individual platform for native support since the JavaFX application plugin wasn't really necessary.
The distribution currently creates binaries in the bin/* folder as windows batch file and a unix script.
In the end, the ultimate goal of all of this is to make it easier programatically to allow users to opt-in for snapshot builds once an auto-updater is created.
Commit 4fe054fae92d34e5c129ed649af39dfd71e2abe9 now contains full support for versioning using Nebula Release. CI should be added in future to verify successful devSnapshot builds during a PR to develop.
Versions tagged, prefixed with vMajor.minor.patch(-rc.x)
Workflow for a major update:
gradle candidate
gradle final
gradle -Prelease.useLatestTag=true final
Setup gradle for snapshot builds and native distribution builds.
Most work for this is already complete now by utilizing the application plugin through gradle. Distribution builds are created using the gradle task 'assembleDist'. Will need to create a custom task for each individual platform for native support since the JavaFX application plugin wasn't really necessary.
The distribution currently creates binaries in the bin/* folder as windows batch file and a unix script.