Skip to content

Commit c94413e

Browse files
committed
WIP: Bzlmod part the one hundred twenty-ninth
Restoring `junit/junit.bzl` and Scala 2.11 artifacts to match "Add new rules_java preamble to all WORKSPACE files" (commit 7f746d9). There's no real need for these files to be different. I'm reverting them to an earlier state to facilitate convergence between what lands on `master` and this `bzlmod` working branch.
1 parent 3a1f2bb commit c94413e

File tree

2 files changed

+4
-9
lines changed

2 files changed

+4
-9
lines changed

junit/junit.bzl

-5
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ load(
33
_default_maven_server_urls = "default_maven_server_urls",
44
)
55
load("//third_party/repositories:repositories.bzl", "repositories")
6-
load("@io_bazel_rules_scala_config//:config.bzl", "SCALA_VERSION")
76

87
def junit_artifact_ids():
98
return [
@@ -13,13 +12,9 @@ def junit_artifact_ids():
1312

1413
def junit_repositories(
1514
maven_servers = _default_maven_server_urls(),
16-
scala_version = SCALA_VERSION,
17-
overriden_artifacts = {},
1815
fetch_sources = True):
1916
repositories(
20-
scala_version = scala_version,
2117
for_artifact_ids = junit_artifact_ids(),
2218
fetch_sources = fetch_sources,
2319
maven_servers = maven_servers,
24-
overriden_artifacts = overriden_artifacts,
2520
)

third_party/repositories/scala_2_11.bzl

+4-4
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,8 @@ artifacts = {
7171
"sha256": "16901851ebe5e89fe88aaad3c26866373695bc2e30627bb8932847e2f5fc2e76",
7272
},
7373
"com_lihaoyi_fansi": {
74-
"artifact": "com.lihaoyi:fansi_2.11:0.4.0",
75-
"sha256": "08f6400ff3e92fa3d215788fb3ef7bb7bf1344c71f4d4d4199fec9b0e6d91432",
74+
"artifact": "com.lihaoyi:fansi_2.11:0.2.6",
75+
"sha256": "63878260e23a1e28ecd8d6987d5feda9d72507b476137b9f642ac2c75035a9c8",
7676
"deps": [
7777
"@com_lihaoyi_sourcecode",
7878
"@io_bazel_rules_scala_scala_library",
@@ -95,8 +95,8 @@ artifacts = {
9595
],
9696
},
9797
"com_lihaoyi_sourcecode": {
98-
"artifact": "com.lihaoyi:sourcecode_2.11:0.3.1",
99-
"sha256": "52b38f0d291bab3555bd6b4324a1e86d1acbb347ffc763b154f220d7ce54f31b",
98+
"artifact": "com.lihaoyi:sourcecode_2.11:0.2.1",
99+
"sha256": "4b45e8b4efee81457b97439e250cd80a67f1ddbe896735cca0f05c88ebead58c",
100100
"deps": [
101101
"@io_bazel_rules_scala_scala_library",
102102
],

0 commit comments

Comments
 (0)