TornadoFX v2 (Gradle)
A JavaFX framework for Kotlin (Java 11+)
This (experimental) branch is gradle based. Current state: TODO
- Kotlin & Java target is Java 11.0.2
- JavaFX version is 15.0.1
- JUnit5 with additional vintage engine for unit testing
- Tests running on classpath ignoring javas module system
- no support for OSGI bundle
Features
- Supports both MVC, MVP and their derivatives
- Dependency injection
- Type safe GUI builders
- Type safe CSS builders
- First class FXML support
- Async task execution
- EventBus with thread targeting
- Hot reload of Views and Stylesheets
- Zero config, no XML, no annotations
Requirements
- JDK 11+
- Kotlin 1.3+
- JavaFX 13+
Installation
In repositories block add
maven {
url = uri("https://oss.sonatype.org/content/repositories/snapshots")
}
In dependencies block add
implementation("no.tornado:tornadofx:2.0.0-SNAPSHOT")
Feature Requests and Bugs
Please use the GitHub issues for all feature requests and bugs.