Skip to content

apple/rules_pkl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ddda96d · Mar 20, 2025

History

85 Commits
Mar 12, 2025
Mar 12, 2025
Jan 23, 2025
Mar 19, 2025
Mar 12, 2025
Mar 19, 2025
Jan 23, 2025
Mar 19, 2025
Jan 23, 2025
Dec 6, 2024
Apr 23, 2024
Apr 23, 2024
Dec 6, 2024
Mar 12, 2025
Apr 23, 2024
Apr 23, 2024
Apr 23, 2024
Apr 23, 2024
Apr 23, 2024
Mar 20, 2025
Mar 20, 2025
May 1, 2024
Apr 23, 2024
Apr 23, 2024
Mar 12, 2025
Apr 23, 2024

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.6.0")

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 JVM version

From 0.26.0 onwards, Pkl requires at least JDK17.

This has been reflected in the .bazelrc.