Update conveyor.conf (#34)

* Bump to JavaFX 19.
* Update to new Conveyor 6 features:
* Use aggressive updates on Windows too.
* Use app.site.copy-to to upload the repository automatically.
* Set versions in conveyor.conf from Maven.
This commit is contained in:
Mike Hearn 2023-02-13 16:44:18 +01:00 committed by GitHub
parent 8c0dc2a295
commit d6fef2447e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -6,20 +6,21 @@
// Use Amazon's Java 17 build, latest as of packaging. OpenJDK already moved on to 18.
include required("/stdlib/jdk/17/amazon.conf")
// Import JavaFX JMODs.
include required("/stdlib/jvm/javafx/from-jmods.conf")
// Small tweaks e.g. enabling proxy detection (https://conveyor.hydraulic.dev/2/stdlib/jvm-clients/)
include required("/stdlib/jvm/enhancements/client/v1.conf")
javafx.version = 19
// Set some version keys by evaluating Maven expressions.
include "#!=app.version mvn -q help:evaluate -Dexpression=project.version -DforceStdout"
include "#!=javafx.version mvn -q help:evaluate -Dexpression=openjfx.version -DforceStdout"
app {
display-name = AtlantaFX Sampler
fsname = atlantafx-sampler
// Not allowed to have versions ending in -SNAPSHOT
version = 1.2.0
// Open source projects use Conveyor for free.
vcs-url = github.com/mkpaz/atlantafx
@ -35,12 +36,16 @@ app {
modules = [ java.logging, jdk.localedata, java.desktop, java.prefs, javafx.controls, javafx.swing, javafx.web ]
}
// Check for updates on every start and pop up a dialog if found, as this app will only be run occasionally (e.g. on new releases).
// NB: Update checks won't occur if the most recent update was done within <= 1 hour. This is Mac specific because on Windows update
// checks are done whether or not the app is running, and on Linux updates are handled by the package manager.
mac.updates = aggressive
// Force an update check on each launch, because if the user is running the app it's quite likely to be due to a new release.
updates = aggressive
site.base-url = downloads.hydraulic.dev/atlantafx/sampler
site {
// Where to check for updates / find packages.
base-url = downloads.hydraulic.dev/atlantafx/sampler
// How to upload the finished repository/site.
copy-to = "sftp://hq.hydraulic.software/var/www/downloads.hydraulic.dev/atlantafx/sampler"
}
}
conveyor.compatibility-level = 4
conveyor.compatibility-level = 6