rules_scala
rules_scala copied to clipboard
Scala rules for Bazel
With ```bazel scala_config(scala_version = "2.13.9") ``` in WORKSPACE there is still 2.13.6 scala-library dependency ```console $ bazel query --output build //external:io_bazel_rules_scala_scala_library jvm_import_external( name = "io_bazel_rules_scala_scala_library", generator_name = "io_bazel_rules_scala_scala_library", generator_function =...
I get the following error when doing a very simple thrift to scala conversion on Windows 11 using Bazel. ``` load("@io_bazel_rules_scala//thrift:thrift.bzl", "thrift_library") load("@io_bazel_rules_scala//twitter_scrooge:twitter_scrooge.bzl", "scrooge_scala_library") thrift_library( name = "thrift", srcs =...
Over the past releases, the version name of this rule set has changed from semver (0.0.2) to non-standard (tut) to date derived (20220201) to semver-like with a prefix (v5.0.0). The...
We used an old version of rules_scala for a while, and recently tried to upgrade but found that scalapb option retain_source_code_info doesn't work as expected. Added an example into https://github.com/haneul/scalapbtest...
_This issue was automatically created by [Allstar](https://github.com/ossf/allstar/)._ **Security Policy Violation** Project is out of compliance with Binary Artifacts policy: binaries present in source code **Rule Description** Binary Artifacts are an...
I am looking for better support for scrooge_scala_library as there is no documentation about it.
I followed the setup document here and got the following error running `bazel build //:all` ``` ERROR: error loading package '': Label '//scala:scala.bzl' is invalid because 'scala' is not a...
## steps 1. globally set the java_runtime to JDK 8. 2. set a target level java_compile_toolchain to JDK 11. ## problem @Duhemm found that in that situation Java source can...
I'm happy to write some tests for this, but existing tests appear to be broken in CI, and much of the functionality requires Bazel 7.0.0 to work anyway (while CI...
### Description Configure rules via build settings instead of attributes on toolchain. Eventually toolchain should contain only attributes that are scala version specific (ie jars, scalac opts, executables) For backwards...