|
| 1 | +# Former `rules_scala` module extensions directory |
| 2 | + |
| 3 | +We removed the [module extensions][] from this directory after the release of |
| 4 | +[rules_scala v7.0.0][], which supports [Bazel modules (a.k.a. Bzlmod)][Bzlmod] |
| 5 | +directly. We also removed the patch for `rules_scala` v6.6.0 from this |
| 6 | +directory's parent. |
| 7 | + |
| 8 | +[Migrating to Bazel Modules (a.k.a. Bzlmod) - Module Extensions][post] from the |
| 9 | +[EngFlow 'bzlmod' blog post series][series] describes the former extensions and |
| 10 | +their configuration in detail. You can also see the previous files in the git |
| 11 | +history at commit `79b5193`: |
| 12 | + |
| 13 | +- [MODULE.bazel](https://github.com/EngFlow/example/blob/79b51930e4629486462c0f9787a25d035b6c4450/MODULE.bazel#L167-L317) |
| 14 | +- [scala/extensions/config.bzl](https://github.com/EngFlow/example/blob/79b51930e4629486462c0f9787a25d035b6c4450/scala/extensions/config.bzl) |
| 15 | +- [scala/extensions/deps.bzl](https://github.com/EngFlow/example/blob/79b51930e4629486462c0f9787a25d035b6c4450/scala/extensions/deps.bzl) |
| 16 | +- [scala/rules_scala-6.6.0.patch](https://github.com/EngFlow/example/blob/79b51930e4629486462c0f9787a25d035b6c4450/scala/rules_scala-6.6.0.patch) |
| 17 | + |
| 18 | +You can view these files locally using: |
| 19 | + |
| 20 | +```txt |
| 21 | +git show 79b5193:MODULE.bazel |
| 22 | +git show 79b5193:scala/extensions/config.bzl |
| 23 | +git show 79b5193:scala/extensions/deps.bzl |
| 24 | +git show 79b5193:scala/rules_scala-6.6.0.patch |
| 25 | +``` |
| 26 | + |
| 27 | +To see the content of the `scala/extensions` directory at that commit: |
| 28 | + |
| 29 | +```sh |
| 30 | +$ git show 79b5193:scala/extensions |
| 31 | +tree 79b5193:scala/extensions |
| 32 | + |
| 33 | +BUILD |
| 34 | +config.bzl |
| 35 | +deps.bzl |
| 36 | +``` |
| 37 | + |
| 38 | +[Bzlmod]: https://bazel.build/external/module |
| 39 | +[module extensions]: https://bazel.build/external/extension |
| 40 | +[rules_scala v7.0.0]: https://github.com/bazel-contrib/rules_scala/releases/tag/v7.0.0 |
| 41 | +[post]: https://blog.engflow.com/2025/01/16/migrating-to-bazel-modules-aka-bzlmod---module-extensions/ |
| 42 | +[series]: https://blog.engflow.com/category/bzlmod/ |
0 commit comments