<commit_before>---
layout: posts
title: Bazel 0.2.0 Released
---

We are delighted to announce the 0.2.0 release of Bazel. This release marks
major improvements in support for external repositories, Skylark and testing, in
particular how external repositories and Skylark can work together.

## Improvements from our [roadmap](http://bazel.io/roadmap.html)

### Skylark rules can now be loaded from remote repositories

Skylark rules can now be loaded from a remote repository.  For example, to use
the Scala rules, add the following to your WORKSPACE file:

```python
git_repository(
    name = "io_bazel_rules_scala",
    remote = "https://github.com/bazelbuild/rules_scala.git",
    tag = "0.0.1",
)
load("@io_bazel_rules_scala//scala:scala.bzl", "scala_repositories")
scala_repositories()
```

This will download all of the tools the rules need to build Scala programs.

Then load and use normally from your BUILD files:
<commit_msg>Adds a link to the release 0.2.0 in the blog post announcing it.<commit_after>---
layout: posts
title: Bazel 0.2.0 Released
---

We are delighted to announce the
[0.2.0 release](https://github.com/bazelbuild/bazel/releases/tag/0.2.0) of
Bazel. This release marks major improvements in support for external
repositories, Skylark and testing, in particular how external repositories and
Skylark can work together.

## Improvements from our [roadmap](http://bazel.io/roadmap.html)

### Skylark rules can now be loaded from remote repositories

Skylark rules can now be loaded from a remote repository.  For example, to use
the Scala rules, add the following to your WORKSPACE file:

```python
git_repository(
    name = "io_bazel_rules_scala",
    remote = "https://github.com/bazelbuild/rules_scala.git",
    tag = "0.0.1",
)
load("@io_bazel_rules_scala//scala:scala.bzl", "scala_repositories")
scala_repositories()
```

This will download all of the tools the rules need to build Scala programs.

Then load and use normally from your BUILD files:

{'fraction_non_alphanumeric': 0.09278870398386284, 'fraction_numerical': 0.012102874432677761, 'mean_word_length': 4.450549450549451, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 3, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3848350', 'n_tokens_mistral': 653, 'n_tokens_neox': 597, 'n_words': 234}