Skip to content

Commit 1ea8be6

Browse files
Upgrade Scala 2.13 LTS to 2.13.18 (#1807)
1 parent f8266e5 commit 1ea8be6

35 files changed

+91
-78
lines changed

MODULE.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ SCALA_VERSION = "2.12.20"
1717
SCALA_2_VERSIONS = [
1818
"2.11.12",
1919
"2.12.20",
20-
"2.13.17",
20+
"2.13.18",
2121
]
2222

2323
SCALA_3_VERSIONS = [

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ scala_config = use_extension(
6969
"@rules_scala//scala/extensions:config.bzl",
7070
"scala_config",
7171
)
72-
scala_config.settings(scala_version = "2.13.17")
72+
scala_config.settings(scala_version = "2.13.18")
7373

7474
# See the `scala/extensions/deps.bzl` docstring for a high level description of
7575
# the tag classes exported by this module extension.
@@ -279,7 +279,7 @@ load("@rules_scala//:scala_config.bzl", "scala_config")
279279
#
280280
# 2.12 is the default version. Use other versions by passing them explicitly:
281281
#
282-
# scala_config(scala_version = "2.13.17")
282+
# scala_config(scala_version = "2.13.18")
283283
#
284284
# You may define your own custom toolchain using Maven artifact dependencies
285285
# configured by your `WORKSPACE` file, imported using an external loader like
@@ -956,7 +956,7 @@ rules_scala_toolchain_deps_repositories(fetch_sources = True)
956956
957957
load("@rules_scala//:scala_config.bzl", "scala_config")
958958
959-
scala_config(scala_version = "2.13.17")
959+
scala_config(scala_version = "2.13.18")
960960
961961
load(
962962
"//testing:scalatest.bzl",
@@ -992,7 +992,7 @@ rules_scala_dependencies()
992992

993993
load("@rules_scala//:scala_config.bzl", "scala_config")
994994

995-
scala_config(scala_version = "2.13.17")
995+
scala_config(scala_version = "2.13.18")
996996

997997
load(
998998
"@rules_scala//scala:toolchains.bzl",
@@ -1116,7 +1116,7 @@ scala_config = use_extension(
11161116
"@rules_scala//scala/extensions:config.bzl",
11171117
"scala_config",
11181118
)
1119-
scala_config.settings(scala_version = "2.13.17")
1119+
scala_config.settings(scala_version = "2.13.18")
11201120

11211121
scala_deps = use_extension(
11221122
"@rules_scala//scala/extensions:deps.bzl",

docs/cross-compilation.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ scala_config = use_extension(
2222
)
2323

2424
scala_config.settings(
25-
scala_version = "2.13.17",
25+
scala_version = "2.13.18",
2626
# No need to include `scala_version` in `scala_versions`.
2727
scala_versions = [
2828
"2.11.12",
@@ -45,7 +45,7 @@ scala_config(
4545
scala_versions = [
4646
"2.11.12",
4747
"2.12.20",
48-
"2.13.17",
48+
"2.13.18",
4949
"3.1.3",
5050
"3.2.2",
5151
"3.3.7",

dt_patches/dt_patch_test.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ $runner test_compiler_patch 2.13.12
109109
$runner test_compiler_patch 2.13.14
110110
$runner test_compiler_patch 2.13.15
111111
$runner test_compiler_patch 2.13.17
112+
$runner test_compiler_patch 2.13.18
112113

113114
$runner test_compiler_patch 3.1.0 # Minimal supported version
114115
$runner test_compiler_patch 3.1.3
@@ -146,6 +147,7 @@ $runner test_compiler_srcjar_nonhermetic 2.13.12
146147
$runner test_compiler_srcjar_nonhermetic 2.13.14
147148
$runner test_compiler_srcjar_nonhermetic 2.13.15
148149
$runner test_compiler_srcjar_nonhermetic 2.13.17
150+
$runner test_compiler_srcjar_nonhermetic 2.13.18
149151

150152
$runner test_compiler_srcjar 3.1.3
151153
$runner test_compiler_srcjar 3.2.2

dt_patches/test_dt_patches/MODULE.bazel.lock

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dt_patches/test_dt_patches_user_srcjar/MODULE.bazel

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,10 @@ scala_deps.compiler_srcjar(
146146
url = "https://repo1.maven.org/maven2/org/scala-lang/scala-compiler/2.13.17/scala-compiler-2.13.17-sources.jar?foo",
147147
version = "2.13.17",
148148
)
149+
scala_deps.compiler_srcjar(
150+
url = "https://repo1.maven.org/maven2/org/scala-lang/scala-compiler/2.13.18/scala-compiler-2.13.18-sources.jar?foo",
151+
version = "2.13.18",
152+
)
149153
scala_deps.compiler_srcjar(
150154
integrity = "sha384-4J2ihR1QSdP5cvL3y2OUfw4uUX/hsQqcPlJV+IrQdsM/soiIAYfoEeIEt6vl3xBk",
151155
url = "https://repo1.maven.org/maven2/org/scala-lang/scala3-compiler_3/3.1.3/scala3-compiler_3-3.1.3-sources.jar",

dt_patches/test_dt_patches_user_srcjar/MODULE.bazel.lock

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dt_patches/test_dt_patches_user_srcjar/WORKSPACE

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,9 @@ srcjars_by_version = {
125125
"2.13.17": {
126126
"url": "https://repo1.maven.org/maven2/org/scala-lang/scala-compiler/2.13.17/scala-compiler-2.13.17-sources.jar?foo",
127127
},
128+
"2.13.18": {
129+
"url": "https://repo1.maven.org/maven2/org/scala-lang/scala-compiler/2.13.18/scala-compiler-2.13.18-sources.jar?foo",
130+
},
128131
"3.1.3": {
129132
"url": "https://repo1.maven.org/maven2/org/scala-lang/scala3-compiler_3/3.1.3/scala3-compiler_3-3.1.3-sources.jar",
130133
"integrity": "sha384-4J2ihR1QSdP5cvL3y2OUfw4uUX/hsQqcPlJV+IrQdsM/soiIAYfoEeIEt6vl3xBk",

examples/crossbuild/1_single/BUILD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ scala_library(
1414
scala_test(
1515
name = "test213",
1616
srcs = ["test.scala"],
17-
scala_version = "2.13.17",
17+
scala_version = "2.13.18",
1818
)
1919

2020
# This one will be compiled by 3.3 compiler (the default one):

examples/crossbuild/2_deps/BUILD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ scala_binary(
1919
name = "bin213",
2020
srcs = ["bin.scala"], # compiled with 2.13 (as per `scala_version`)
2121
main_class = "C",
22-
scala_version = "2.13.17",
22+
scala_version = "2.13.18",
2323
deps = [
2424
":lib", # compiled 2.13 (as per `scala_version`)
2525
":lib211", # compiled with 2.11 (that target overrides version)

0 commit comments

Comments
 (0)