Skip to content

Other JVM build systemsΒΆ

Create a conveyor.conf that looks like this:

conveyor.conf
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
include "/stdlib/jdk/17/openjdk.conf"  

app {
    inputs += build/jars/my-program-1.0.jar
    inputs += build/jars

    icons = "icon-*.png"

    vendor = Global MegaCorp  

    site.base-url = global-megacorp.com/myproduct  
}

This configuration adds your app's main JAR as the first input, allowing package metadata like the main class name, the version number and name to be derived from the file name. Then it adds the directory containing all the app JARs (duplicates are ignored), and finally a set of icon files. That's all you need! The extra inferred configuration will look like this:

// This will all be figured out by Conveyor automatically:
app {
    fsname = my-program  
    display-name = My Program  
    version = 1.0  
    rdns-name = com.global-megacorp.myproduct

    jvm {
        main-class = com.example.MyProgram  

        modules = [ ... ]  
    }
}

Sometimes you don't want the settings to be inferred from the first input like that. In this case you can specify the config directly. Look at these sections of the guidebook to learn more: