rules_pkl 0.17.1Latest published 1h ago
MODULE.bazel
bazel_dep(name = "rules_pkl", version = "0.17.1")
README

Pkl Rules

Pkl is an embeddable configuration language with rich support for data templating and validation. It can be used from the command line, integrated in a build pipeline, or embedded in a program. Pkl scales from small to large, simple to complex, ad-hoc to repetitive configuration tasks.

For further information about Pkl, check out the official Pkl documentation.

Quick Start

Setup

To use rules_pkl, enable bzlmod within your project, and then add the following to your MODULE.bazel:

# Please check the releases page on GitHub for the latest released version
bazel_dep(name = "rules_pkl", version = "0.17.1")

Examples

See the examples/ directory for complete examples of how to use rules_pkl.

Ruleset Docs

For further information on the rules provided, check out the rules_pkl documentation.

Minimum required versions

Minimum Pkl version

From 0.12.0 onwards, rules_pkl requires a Pkl version greater than or equal to 0.29.0.

Minimum JVM version

rules_pkl requires at least JDK17.

About

Bazel build rules for Pkl

@apple/rules_pkl@apple

Languages

Pkl12.8%
Python6.5%
Shell4.9%
Java4.5%

Maintainers

@
@holzensp
@sitaktif
@KushalP
@shs96c
@bioball
@stackoverflow
@srueg

Compatibility

Versions

0.17.1 +13d2026-06-04
0.16.0 +2.5mo2026-05-22
0.15.0 +3.4mo2026-03-06
0.14.0 +22d2025-11-25
0.13.1 +9d2025-11-03
0.13.0 +4d2025-10-24
0.12.0 +1.1mo2025-10-20
0.11.1 +19d2025-09-17
0.10.0 +3.1mo2025-08-29
0.9.0 +20d2025-05-28
0.8.0 +8d2025-05-08
0.7.0 +1.3mo2025-04-29
0.6.0 +15d2025-03-20
0.5.0 +27d2025-03-05
0.4.0 +1.7mo2025-02-06
0.3.0 +11d2024-12-18
0.2.0 +7.2mo2024-12-06
0.1.02024-05-03