rules_scala
rules_scala copied to clipboard
Scala rules for Bazel
I would like to use Java 17 but it keeps trying to use Java 11. How can I force rules_scala to stop trying to get older Java? I tried the...
### Description In my belief, all the changes required in order to enable this feature are done. We can flip the switch! What is remaining is to provide some: -...
### Description Allow users to configure `buildijar` value when building a library ### Motivation I'm generating some Scala code and compiling them as a library. But IntelliJ is failing to...
When CI was running for PR #1580, the MacOS CI job failed twice, then passed on the 3rd time. (no code changes between the runs). The failed test is //test:Run__test_test_scala_proto_server....
Test result from scalatest in buildbuddy is quite unreadable sometimes. **Screenshots** Test log: [build_logs.txt](https://github.com/buildbuddy-io/buildbuddy/files/15130523/build_logs.txt) test.xml from buildbuddy: [test.xml.zip](https://github.com/buildbuddy-io/buildbuddy/files/15137097/test.xml.zip) If some more info is needed, tell me please. Here is a...
Detecting errors for cross compilation is somehow broken, and produces an additional Null Pointer Exception. How to reproduce: Apply this patch in latest rules_scala code: ``` diff --git a/examples/crossbuild/3_select/BUILD b/examples/crossbuild/3_select/BUILD...
### Description - Added artifacts for Scala 3.5.0 version - Updated tests that are dependent on the chosen scala version (Merge after [PR #1603](https://github.com/bazelbuild/rules_scala/pull/1603)) ### Motivation There are newer versions...
### Description - Added artifacts for Scala 3.4.2 version - Updated tests that are dependent on the chosen scala version - Fixed `java.lang.NoClassDefFoundError: xsbti/UseScope` for Scala versions >= 3.4.0 ###...
The new release 6.6.0 support cross-compilation. I want to bump the scala version to 2.13.14 by overriding the artifacts. It turns out that it will override for both 2.12.18 and...
The [current Scala 3 diagnostics reporter](https://github.com/bazelbuild/rules_scala/blob/master/src/java/io/bazel/rulesscala/scalac/reporter/PlaceholderForEmptyScala3Lib.java) looks like it is a noop. It looks like the scala 3 compiler has a `ConsoleReporter` [here](https://github.com/scala/scala3/blob/5101daf9f454c23898ec205894a1c97025f39515/compiler/src/dotty/tools/dotc/reporting/ConsoleReporter.scala#L13). Are there any obstacles for implementing it...