Basilisk is desktop/mobile application development platform for the JVM. Inspired by Griffon, Basilisk leverages JavaFX and JavafXPorts to bring the same codebase to desktop and mobile platforms alike.
Griffon developers should feel right at home when trying out Basilisk. Many of Griffon’s features and commands are shared with Basilisk.
Seasoned Java developers will also be able to pick up the pace quickly, as the framework relieves you of the burden of maintaining an application structure, allowing you to concentrate on getting the code right.
The recommended way to get started with a Basilisk project is to use a Lazybones project template and Gradle. You can install these tools with SDKMAN.
$ curl -s http://get.sdkman.io | bash $ sdk install lazybones $ sdk install gradle
Next register the basilisk-lazybones-templates repository with Lazybones' config file. Edit $USER_HOME/.lazybones/config.groovy
bintrayRepositories = [ "basilisk/basilisk-lazybones-templates", "pledbrook/lazybones-templates" ]
List all available templates by invoking the following command
$ lazybones list Available templates in basilisk/basilisk-lazybones-templates
Select a starting template from the list and invoke the create command
$ lazybones create basilisk-application sample
Compile, run and test the project with any of these commands
$ gradle build $ gradle test $ gradle run $ gradle launchIPhoneSimulator