Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lucasstarsz/javafx-template
A template project for using JavaFX 16 with Java 16 and Gradle 7.
https://github.com/lucasstarsz/javafx-template
gradle gradle-project gradle-template-project gradle-tutorial javafx javafx-project javafx-tutorial template template-project
Last synced: 15 days ago
JSON representation
A template project for using JavaFX 16 with Java 16 and Gradle 7.
- Host: GitHub
- URL: https://github.com/lucasstarsz/javafx-template
- Owner: lucasstarsz
- License: mit
- Created: 2021-05-30T02:31:42.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-05-30T03:06:41.000Z (over 3 years ago)
- Last Synced: 2024-11-12T00:28:31.684Z (2 months ago)
- Topics: gradle, gradle-project, gradle-template-project, gradle-tutorial, javafx, javafx-project, javafx-tutorial, template, template-project
- Language: Java
- Homepage:
- Size: 61.5 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# JavaFX Template Project
[![License Badge][License-Badge]][License-File]
A JavaFX template project containing the following configurations:
- Gradle build tool, version `7.0.2`
- Java 16
- JavaFX 16 dependencies (configured to work with Windows, Linux, MacOS)
- Empty JavaFX template program (module-info & main class configurable from build.gradle)
- JUnit 5 Unit Testing (with pretty-print test results)
- Badass JLink Plugin, version `2.24.0` with the following configurations:
- JavaFX dependencies
- Icon paths
- App name/description
- Don't show the console when running jlink executable script
- Create core dump if jpackage executable crashes# How to Use
1. Clone the repository.
```bash
$ git clone https://github.com/lucasstarsz/javafx-template
```2. Build the project.
```bash
$ cd javafx-template
$ ./gradlew build
```_If you're on Windows, run `gradlew.bat` instead._
3. Read through [build.gradle][Build-Gradle-File] for configuration information.
If you need a tutorial on how to use JavaFX, check out [Jenkov's JavaFX Tutorials][Jenkov-JavaFX-Tutorials]. They cover nearly 70 specific JavaFX controls and concepts, and are what I used to learn JavaFX.
If you need a tutorial on how to use Gradle, check out [Baeldung's Gradle Tutorials][Baeldung-Gradle-Tutorials]. They're what I used to learn the basics of Gradle.
[License-Badge]: https://img.shields.io/github/license/lucasstarsz/javafx-template?color=228822&labelColor=363e45&style=for-the-badge
[Build-Gradle-File]: build.gradle "build.gradle"
[Jenkov-JavaFX-Tutorials]: http://tutorials.jenkov.com/javafx/index.html "Jenkov JavaFX Tutorials"
[Baeldung-Gradle-Tutorials]: https://www.baeldung.com/gradle "Baeldung Gradle Tutorials"
[License-File]: LICENSE "MIT License"