Gluon Applications are Java application written in JavaFX. These applications ensure that developers can create high performance, great looking, and cloud connected mobile apps from a single Java code base.
This sample contains a simple Gluon application which can be used to run, test and create a native application for any targeted device.
Please checkout the prerequisites to run this application here.
Note: The following are command line instructions. For IDE specific instructions please checkout IDE section of the Gluon documentation.
These application can run on the JVM on desktop platforms. To run the application, execute the following command:
./gradlew run
The same application can also run natively for on any targeted OS, including Android, iOS, Linux, Mac and Windows.
To create a native image, execute the following command:
./gradlew nativeBuild nativeRun
Note: The above commands are target-platform dependent and might change depending on the platform. For more details, please check GluonFX Gradle Tasks
To configure the GluonFX plugin, please checkout the configuration documentation.
Here are some helpful links: