Skip to content

Commit 6613ffc

Browse files
authored
Updated artifact versions with sha sums and scala versions (#1597)
* bumped artifact versions with sha sums and scala versions * reset cla * removed library version update * update sha sums * update scala version in workspace * update scala version in workspace and build * update scala version in workspaces and build * removed scalafmt updated versions * removed docs update * removed support for 3.4.2 due to failing scala3_4_example * removed support for 3.4.2 due to failing scala3_4_example * lint issue * update
1 parent 6c6ba4e commit 6613ffc

File tree

23 files changed

+90
-80
lines changed

23 files changed

+90
-80
lines changed

.bazelci/presubmit.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,15 @@ tasks:
2727
platform: ubuntu2004
2828
shell_commands:
2929
# Install xmllint
30-
- sudo apt update && sudo apt install -y libxml2-utils
30+
- sudo apt update && sudo apt install --reinstall libxml2-utils -y
3131
- "./test_rules_scala.sh"
3232
test_rules_scala_linux_last_green:
3333
name: "./test_rules_scala (Bazel green head)"
3434
platform: ubuntu2004
3535
bazel: last_green
3636
shell_commands:
3737
# Install xmllint
38-
- sudo apt update && sudo apt install -y libxml2-utils
38+
- sudo apt update && sudo apt install --reinstall libxml2-utils -y
3939
- "./test_rules_scala.sh || buildkite-agent annotate --style 'warning' \"Optional build with latest Bazel version failed, [see here](${BUILDKITE_BUILD_URL}#${BUILDKITE_JOB_ID}) (It is not mandatory but worth checking)\""
4040
test_rules_scala_macos:
4141
name: "./test_rules_scala"

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ scalatest_toolchain()
8888
```
8989

9090
This will load the `rules_scala` repository at the commit sha
91-
`rules_scala_version` into your Bazel project and register a [scala_toolchain](docs/scala_toolchain.md) at the default Scala version (2.12.18)
91+
`rules_scala_version` into your Bazel project and register a [scala_toolchain](docs/scala_toolchain.md) at the default Scala version (2.12.19)
9292

9393
Then in your BUILD file just add the following so the rules will be available:
9494
```starlark
@@ -143,13 +143,13 @@ Previous minor versions may work but are supported only on a best effort basis.
143143
To configure Scala version you must call `scala_config(scala_version = "2.xx.xx")` and configure
144144
dependencies by declaring [scala_toolchain](docs/scala_toolchain.md).
145145
For a quick start you can use `scala_repositories()` and `scala_register_toolchains()`, which have
146-
dependency providers configured for `2.11.12`, `2.12.18` and `2.13.12` versions.
146+
dependency providers configured for `2.11.12`, `2.12.19` and `2.13.14` versions.
147147

148148

149149
```starlark
150150
# WORKSPACE
151151
load("@io_bazel_rules_scala//:scala_config.bzl", "scala_config")
152-
scala_config(scala_version = "2.13.12")
152+
scala_config(scala_version = "2.13.14")
153153

154154
load("@rules_proto//proto:repositories.bzl", "rules_proto_dependencies", "rules_proto_toolchains")
155155
rules_proto_dependencies()

dt_patches/dt_patch_test.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ run_test_local test_compiler_patch 2.12.15
101101
run_test_local test_compiler_patch 2.12.16
102102
run_test_local test_compiler_patch 2.12.17
103103
run_test_local test_compiler_patch 2.12.18
104+
run_test_local test_compiler_patch 2.12.19
104105

105106
run_test_local test_compiler_patch 2.13.0
106107
run_test_local test_compiler_patch 2.13.1
@@ -114,6 +115,7 @@ run_test_local test_compiler_patch 2.13.8
114115
run_test_local test_compiler_patch 2.13.10
115116
run_test_local test_compiler_patch 2.13.11
116117
run_test_local test_compiler_patch 2.13.12
118+
run_test_local test_compiler_patch 2.13.14
117119

118120
run_test_local test_compiler_srcjar_error 2.12.11
119121
run_test_local test_compiler_srcjar_error 2.12.12
@@ -126,6 +128,8 @@ run_test_local test_compiler_srcjar 2.12.15
126128
run_test_local test_compiler_srcjar 2.12.16
127129
run_test_local test_compiler_srcjar_nonhermetic 2.12.17
128130
run_test_local test_compiler_srcjar_nonhermetic 2.12.18
131+
run_test_local test_compiler_srcjar_nonhermetic 2.12.19
129132

130133
run_test_local test_compiler_srcjar_nonhermetic 2.13.11
131-
run_test_local test_compiler_srcjar_nonhermetic 2.13.12
134+
run_test_local test_compiler_srcjar_nonhermetic 2.13.12
135+
run_test_local test_compiler_srcjar_nonhermetic 2.13.14

dt_patches/test_dt_patches_user_srcjar/WORKSPACE

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,12 +91,18 @@ srcjars_by_version = {
9191
"2.12.18": {
9292
"url": "https://repo1.maven.org/maven2/org/scala-lang/scala-compiler/2.12.18/scala-compiler-2.12.18-sources.jar?foo",
9393
},
94+
"2.12.19": {
95+
"url": "https://repo1.maven.org/maven2/org/scala-lang/scala-compiler/2.12.19/scala-compiler-2.12.19-sources.jar?foo",
96+
},
9497
"2.13.11": {
9598
"url": "https://repo1.maven.org/maven2/org/scala-lang/scala-compiler/2.13.11/scala-compiler-2.13.11-sources.jar?foo",
9699
},
97100
"2.13.12": {
98101
"url": "https://repo1.maven.org/maven2/org/scala-lang/scala-compiler/2.13.12/scala-compiler-2.13.12-sources.jar?foo",
99102
},
103+
"2.13.14": {
104+
"url": "https://repo1.maven.org/maven2/org/scala-lang/scala-compiler/2.13.14/scala-compiler-2.13.14-sources.jar?foo",
105+
},
100106
}
101107

102108
rules_scala_setup(scala_compiler_srcjar = srcjars_by_version[SCALA_VERSION])

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.12",
17+
scala_version = "2.13.14",
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.12",
22+
scala_version = "2.13.14",
2323
deps = [
2424
":lib", # compiled 2.13 (as per `scala_version`)
2525
":lib211", # compiled with 2.11 (that target overrides version)

examples/crossbuild/3_select/BUILD

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,14 @@ scala_binary(
2222
name = "bin2",
2323
srcs = ["bin.scala"],
2424
main_class = "B",
25-
scala_version = "2.13.12",
25+
scala_version = "2.13.14",
2626
deps = [":lib"],
2727
)
2828

2929
scala_binary(
3030
name = "bin3",
3131
srcs = ["bin.scala"],
3232
main_class = "B",
33-
scala_version = "3.3.1",
33+
scala_version = "3.3.3",
3434
deps = [":lib"],
3535
)

examples/crossbuild/WORKSPACE

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ local_repository(
1919
load("@io_bazel_rules_scala//:scala_config.bzl", "scala_config")
2020

2121
scala_config(
22-
scala_version = "3.3.1",
22+
scala_version = "3.3.3",
2323
scala_versions = [
2424
"2.11.12",
25-
"2.13.12",
26-
"3.3.1",
25+
"2.13.14",
26+
"3.3.3",
2727
],
2828
)
2929

examples/scala3/WORKSPACE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ local_repository(
1818

1919
load("@io_bazel_rules_scala//:scala_config.bzl", "scala_config")
2020

21-
scala_config(scala_version = "3.3.1")
21+
scala_config(scala_version = "3.3.3")
2222

2323
load(
2424
"@io_bazel_rules_scala//scala:scala.bzl",

examples/semanticdb/WORKSPACE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ local_repository(
2121

2222
load("@io_bazel_rules_scala//:scala_config.bzl", "scala_config")
2323

24-
scala_config(scala_version = "2.13.12")
24+
scala_config(scala_version = "2.13.14")
2525

2626
load(
2727
"@io_bazel_rules_scala//scala:scala.bzl",

0 commit comments

Comments
 (0)