<commit_before># Building GAPID

GAPID uses the [Bazel build system](https://bazel.build/). The current minimum required version of bazel is 0.18.1.

Bazel is able to fetch most of the dependencies required to build GAPID, but currently the Android SDK and NDK both need to be downloaded and installed by hand.

Please see the following OS specific guides for setting up the build environment.

After setting up the build environment, GAPID can be built in a terminal with:

```
cd <path-to-gapid-source>
bazel build pkg
```

The build output will be at `<path-to-gapid-source>/bazel-bin/pkg`.

---

## Windows

### Install Chocolatey

[Follow these instructions](https://chocolatey.org/install) to install Chocolatey.

### Install Bazel<commit_msg>Update the building instructions with the new bazel version.<commit_after># Building GAPID

GAPID uses the [Bazel build system](https://bazel.build/). The current minimum required version of bazel is 0.25.1.

Bazel is able to fetch most of the dependencies required to build GAPID, but currently the Android SDK and NDK both need to be downloaded and installed by hand.

Please see the following OS specific guides for setting up the build environment.

After setting up the build environment, GAPID can be built in a terminal with:

```
cd <path-to-gapid-source>
bazel build pkg
```

The build output will be at `<path-to-gapid-source>/bazel-bin/pkg`.

---

## Windows

### Install Chocolatey

[Follow these instructions](https://chocolatey.org/install) to install Chocolatey.

### Install Bazel
{'fraction_non_alphanumeric': 0.08478964401294499, 'fraction_numerical': 0.005177993527508091, 'mean_word_length': 4.294520547945205, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 4, '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': '6217585', 'n_tokens_mistral': 471, 'n_tokens_neox': 440, 'n_words': 201}