# Configuration Fragments

{% dynamic setvar source_file "NONE" %} {% dynamic setvar version "8.3.0" %} {% dynamic setvar original_path "/rules/lib/fragments" %} {% include "_buttons.html" %} Configuration fragments give rules access to language-specific parts of configuration.

Rule implementations can get them using `ctx.fragments.[fragment name]`

- apple
- bazel_android
- bazel_py
- coverage
- cpp
- j2objc
- java
- objc
- platform
- proto
- py