Skip to content

Commit 93efcc3

Browse files
committed
Upgrade to Scala 2.12.4
The rules_scala ci detected that 2.12.4 doesn't fix bazel-contrib#305 so we keep the workaround for now.
1 parent 804063f commit 93efcc3

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

scala/scala.bzl

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,9 @@ DependencyAnalyzerMode: {dependency_analyzer_mode}
208208
manifest=ctx.outputs.manifest.path,
209209
# always append -YdisableFlatCpCaching, workaround for
210210
# https://github.com/bazelbuild/rules_scala/issues/305
211-
# remove once we upgrade to Scala 2.12.4
211+
# ~remove once we upgrade to Scala 2.12.4~
212+
# ^^ turns out that 2.12.4 didn't fix the issue, see:
213+
# https://github.com/bazelbuild/rules_scala/pull/310#issuecomment-337466097
212214
scala_opts=",".join(ctx.attr.scalacopts + ["-YdisableFlatCpCaching"]),
213215
print_compile_time=ctx.attr.print_compile_time,
214216
plugin_arg=plugin_arg,
@@ -1023,9 +1025,9 @@ java_library(
10231025
def scala_repositories():
10241026
native.new_http_archive(
10251027
name = "scala",
1026-
strip_prefix = "scala-2.12.3",
1027-
sha256 = "2b796ab773fbedcc734ba881a6486d54180b699ade8ba7493e91912044267c8c",
1028-
url = "https://downloads.lightbend.com/scala/2.12.3/scala-2.12.3.tgz",
1028+
strip_prefix = "scala-2.12.4",
1029+
sha256 = "9554a0ca31aa8701863e881281b1772370a87e993ce785bb24505f2431292a21",
1030+
url = "https://downloads.lightbend.com/scala/2.12.4/scala-2.12.4.tgz",
10291031
build_file_content = SCALA_BUILD_FILE,
10301032
)
10311033

0 commit comments

Comments
 (0)