rules_scala icon indicating copy to clipboard operation
rules_scala copied to clipboard

Scala rules for Bazel

Results 199 rules_scala issues
Sort by recently updated
recently updated
newest added
trafficstars

### Description Continuing work done by @mateuszkuta256 in #1541. I managed to: - merge recent changes regarding #1290 - migrate several more things to MODULE.bazel - fix several tests which...

This issue stems from a reddit question i posted: https://www.reddit.com/r/bazel/comments/anfk5t/bazel_and_scala_compiler_plugin_question/ To give some background: Currently I use rules_scala in conjunction with sbt-bazel to try an convert from sbt to bazel....

I am trying to upgrade from 2.12.18 to 2.12.19, and the docs are very unclear about how to do this. If you start at [Selecting Scala version](https://github.com/bazelbuild/rules_scala?tab=readme-ov-file#selecting-scala-version), you get two...

### Description Replaces `native.new_local_repository` in `scalafmt_default_config` with the new `scalafmt_config` repo rule. Also updates the `native.register_toolchains` call with a stringified `Label` to remove the hardcoding of `@io_bazel_rules_scala`. Resolves an incompatibility...

All CI jobs except "Bazel green head" pass for my PRs working towards #1482 with the following error: ```txt bazel --nosystem_rc --nohome_rc info ERROR: Failed to load Starlark extension '@@rules_java//toolchains:toolchain_utils.bzl'....

### Description These are mostly small changes to make test assertions more flexible between `WORKSPACE` and Bzlmod runs. For Bzlmod runs: - Fixed `test_scala_config_content` from `test_scala_config.sh` by changing a path...

**Description:** This issue proposes transferring the rules_scala repository from the `bazelbuild` GitHub organization to the `bazel-contrib` GitHub organization, which is owned by the [Community for Bazel](https://github.com/bazel-contrib/.github/blob/master/Community%20for%20Bazel%20Technical%20Charter.pdf) project under the Linux...

### Description - Updated SHA's, dependencies, artifacts for all of the scala_x_x.bzl repository files with transitive dependencies compliance - Added a script that simplifies creating and updating scala_x_x.bzl repository files....

### Description Fixes various repository name related errors when building under Bzlmod, while remaining backwards compatible with `WORKSPACE`. See the first commit message for details on the problems solved by...

### Description Bumps every Scala version up to use protobuf-java:4.28.2. Part of #1482. ### Motivation As part of my [Bzlmod exploration in my rules_scala fork](https://github.com/mbland/rules_scala/tree/bzlmod), I found that `//test/scalafmt/...` wouldn't...