Quarkus¶
The Quarkus package provides support to run quarkus via the Quarkus CLI and Maven Build:
1 |
|
Initialiasing Quarkus will load the classpath of the Quarkus CLI runner via Coursier:
1 |
|
The project setup is done in the same way as the Kotlin or Java support, for example create a main module with sources:
1 2 3 4 5 6 7 8 |
|
To add quarkus extensions, list them with the quarkus.extension.add - you don't need to add the quarkus- prefix, the helper will add it automatically
1 |
|
Note that adding the Kotlin extension will let the package generate a properly configured Maven Pom file so that the build runs out of the box.
Running Quarkus in Dev mode¶
To run quarkus in development mode dev, you can use the quarkus.dev command, which runs the Quarkus CLI - a supported build system like gradle or maven must be configured in the project folder.
The quarkus package supports generating a maven toolchain locally by writting out a pom.xml file and installating a maven wrapper:
1 2 3 4 5 |
|