Skip to content

Releases: bazelbuild/rules_scala

Tag master as of 2022-02-01

01 Feb 14:00
df59dc6
Compare
Choose a tag to compare
Pre-release
http_archive(
    name = "io_bazel_rules_scala",
    url = "https://github.com/bazelbuild/rules_scala/releases/download/20220201/rules_scala-20220201.zip",
    type = "zip",
    strip_prefix = "rules_scala-20220201",
    sha256 = "77a3b9308a8780fff3f10cdbbe36d55164b85a48123033f5e970fdae262e8eb2",
)

Last version containing tut_rule

05 May 06:48
27aaff7
Compare
Choose a tag to compare
Pre-release

Motivation

tut is no longer supported (even binaries are not available), therefore tut related code was removed from rules_scala.

This release contains a separate workspace (downloadable as http_archive) with removed tut_rule, so you could use that rule with later rule_scala versions (but it won't be supported).

Migration

workspace

http_archive(
    name = "tut_rule",
    url = "https://github.com/bazelbuild/rules_scala/releases/download/tut/tut_rule.zip",
    strip_prefix = "tut_rule",
)

load("@tut_rule//:tut.bzl", "tut_dependencies")

tut_dependencies()

build

Replace load("//tut_rule:tut.bzl", "scala_tut_doc") with load("@tut_rule//:tut.bzl", "scala_tut_doc")

Test detection and XML output edition

01 Apr 17:58
Compare
Choose a tag to compare

This release requires bazel 0.2.1.

The main new features are:

  • add an XML test formatter that writes junit XML results where bazel wants them #24
  • pass the JAVACMD to scalac so the java environment from bazel is used #19
  • fix a bug with resources not adding all items #17
  • deprecate using explicit suites in tests, autodetection of scalatests should work #7
  • support empty srcs to allow scala_library with only exports and runtime_deps #5

thanks to @johnynek @smparkes @dinowernli and @avibryant for contributions to this release.