Bazel rules for building and running Quarkus applications. Supports quarkus_app (production Fast-Jar), dev mode with hot-reload, and quarkus_test (@QuarkusTest execution).
See install instructions on the release page.
Add to your MODULE.bazel:
bazel_dep(name = "com_clementguillot_rules_quarkus", version = "<VERSION>")
load("@rules_quarkus//quarkus:defs.bzl", "quarkus_app", "quarkus_test")
quarkus_app(
name = "app",
version = "1.0.0-SNAPSHOT",
deps = [":lib"],
)
quarkus_test(
name = "test",
deps = [":test_lib"],
)
bazel run //:app # Production mode
bazel run //:app_dev # Dev mode (hot-reload + Dev UI)
bazel test //:test # @QuarkusTest
See the Getting Started guide for full setup instructions.
3.27.4 (LTS) or 3.33.2 (LTS)Important: You must use one of the exact supported versions listed above (
3.27.4or3.33.2). Quarkus bytecode generated during augmentation is tightly coupled to the exact patch version — even within the same minor, runtime incompatibilities can occur.
See LICENSE.
Bazel rules for Quarkus framework (https://quarkus.io/).
@clementguillot/rules_quarkus