<commit_before>---
layout: documentation
---

# Supported Skylark Rules

The Bazel team provides a set of supported build rules written using the
[Skylark](/docs/skylark/index.html) rules framework. These rules allow you
to build the following:

*   [Closure libraries](https://github.com/bazelbuild/bazel/tree/master/tools/build_rules/closure)
*   [Docker images](https://github.com/bazelbuild/bazel/tree/master/tools/build_defs/docker)
*   [Groovy projects](https://github.com/bazelbuild/bazel/tree/master/tools/build_defs/groovy)
*   [Java App Engine applications](https://github.com/bazelbuild/bazel/tree/master/tools/build_rules/appengine)
*   [Rust projects](https://github.com/bazelbuild/bazel/tree/master/tools/build_rules/rust)

The source for these rules are located in the
[tools/build_rules](https://github.com/bazelbuild/bazel/tree/master/tools/build_rules)
and
[tools/build_defs](https://github.com/bazelbuild/bazel/tree/master/tools/build_defs)
directories in the Bazel GitHub repo.<commit_msg>Add Scala to the list of Skylark rules.<commit_after>---
layout: documentation
---

# Supported Skylark Rules

The Bazel team provides a set of supported build rules written using the
[Skylark](/docs/skylark/index.html) rules framework. These rules allow you
to build the following:

*   [Closure libraries](https://github.com/bazelbuild/bazel/tree/master/tools/build_rules/closure)
*   [Docker images](https://github.com/bazelbuild/bazel/tree/master/tools/build_defs/docker)
*   [Groovy projects](https://github.com/bazelbuild/bazel/tree/master/tools/build_defs/groovy)
*   [Java App Engine applications](https://github.com/bazelbuild/bazel/tree/master/tools/build_rules/appengine)
*   [Rust projects](https://github.com/bazelbuild/bazel/tree/master/tools/build_rules/rust)
*   [Scala projects](https://github.com/bazelbuild/bazel/tree/master/tools/build_defs/scala) - experimental
{'fraction_non_alphanumeric': 0.1327340031729244, 'fraction_numerical': 0.0, 'mean_word_length': 5.083601286173633, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 13, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7433516', 'n_tokens_mistral': 656, 'n_tokens_neox': 617, 'n_words': 111}