-
Notifications
You must be signed in to change notification settings - Fork 10
/
conveyor.conf
64 lines (50 loc) · 2.14 KB
/
conveyor.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
// Before packaging do the build like this:
//
// ./mvnw install
// ./mvnw -pl app prepare-package
include required("/stdlib/jdk/19/openjdk.conf")
// Read some version numbers.
include "#!=javafx.version ./mvnw -q help:evaluate -Dexpression=javafx.version -DforceStdout"
include "#!=pom-version ./mvnw -q help:evaluate -Dexpression=project.version -DforceStdout"
include "#!=commit-height git rev-list --count --first-parent HEAD"
// Import JavaFX jmods for each platform, hosted by Gluon.
include required("/stdlib/jvm/javafx/from-jmods.conf")
// Ikonli font packs don't work unless they're on the module path, and this app uses a lot of them so we don't want to
// duplicate the list. Use a single-file Java program to compute the full list of font pack modules from
// components/pom.xml and assign the results to a list. We'll use it below.
temp {
include "#!=icon-font-packs[] java ComputeIconPackNames.java"
}
app {
fsname = jfxcentral
display-name = JFXCentral
license = Apache 2
vcs-url = github.com/dlemmermann/jfxcentral2
// The pom-version currently has a -SNAPSHOT suffix, but this isn't a valid version for package managers.
// Version 2 because version 1 already has a release at the same URL.
version = 2.0.${commit-height}
inputs += "app/target/classpath-jars"
inputs += "app/target/app-*.jar"
url-schemes = [${app.fsname}] // For the custom protocol handler.
jvm {
gui = com.dlsc.jfxcentral2.app.JFXCentral2App
system-properties {
url.schemes=${app.fsname}
}
// Put some things on the module path.
modules = ${app.jvm.modules} ${temp.icon-font-packs} [
"javafx.{controls,web,media,swing,fxml}"
"org.kordamp.ikonli.{core,javafx}"
"com.dlsc.jfxcentral2.iconfont"
// This one has a module name inconsistent with its artifact name.
"-org.kordamp.ikonli.jamicons"
"org.kordamp.ikonli.jam"
]
}
// The app is hosted by Hydraulic.
site {
base-url = downloads.hydraulic.dev/jfxcentral2 // TODO: Set back to just 'jfxcentral' when we release.
copy-to = "//hq.hydraulic.software/var/www/downloads.hydraulic.dev/jfxcentral2"
}
}
conveyor.compatibility-level = 9