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 Extend `scala_config` repo with a `scala_versions` property This is the first step for cross-compilation feature. User should be able to define multiple scala versions supported by the repository:...

https://github.com/scalacenter/scalafix Scalafix is being mentioned in almost every discussion about scala 3, and often about scala 2.14 (and perhaps scala 2.13). Scala 3 is going to allow a ton of...

The order of javacopts parameters passed to javac differs from the order seen in java_library. This can result in different options taking precedence within the same toolchain based on whether...

### Description Basically make the artifacts available for all configured Scala versions (currently still only one). After #1573 these will be available under version-suffixed repository names. ### Motivation Originally #1290....

### Description It enables the logic implemented in #1562. The choice of toolchains to cover is the same as in #1566. Now, e.g., instead of referring to the artifact's repository...

### Description Perform location expansion on testing environment. ### Motivation I want to provide paths to the `scala_test` via the environment. https://github.com/ucb-bar/chiseltest requires `VERILATOR_ROOT` to be present in the environment....

I tried to turn on `strict_deps_mode = "error"` in my `scala_toolchain()`, but it complains about dependencies that aren't used directly in my Scala code. `BUILD`: ```starlark proto_library( name = "model_proto",...

I setup scalafmt with my bazel project successfully following the instructions in this repo and some other examples on GitHub. Here is a minimal example `.scalafmt.conf` file I was using....

### Description This change clears out and deletes the _semanticdb folder before compiling. This is similar to how ScalacWorker was already clearing out the _classes directory. ### Motivation I ran...

### Description Build and register toolchains for all `SCALA_VERSIONS`. There are aliases for toolchains for default Scala version provided – for backward-compatibility, similarly as in #1573. ### Motivation Originally #1290....