Skip to content

Commit

Permalink
Register scalca test toolchain
Browse files Browse the repository at this point in the history
  • Loading branch information
meteorcloudy committed Dec 13, 2024
1 parent 3aaf083 commit 59f9043
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
9 changes: 9 additions & 0 deletions MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,15 @@ pip.parse(
)
use_repo(pip, "rules_webtesting_py_deps")

##### Scala dependencies #####

register_toolchains(
# "@io_bazel_rules_scala//scala:unused_dependency_checker_error_toolchain",
# "@io_bazel_rules_scala//test/proto:scalapb_toolchain",
"@io_bazel_rules_scala//test/toolchains:java21_toolchain_definition",
dev_dependency = True,
)

##### Browsers dependencies #####
browser_repositories = use_extension("//web/versioned:browsers-0.3.3.bzl", "browser_repositories_extension")
use_repo(
Expand Down
4 changes: 2 additions & 2 deletions scalatests/com/google/testing/web/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ scala_web_test_suite(
],
deps = [
"//java/com/google/testing/web",
"@junit_junit",
"@org_seleniumhq_selenium_selenium_api",
"@maven//:junit_junit",
"@maven//:org_seleniumhq_selenium_selenium_api",
],
)

0 comments on commit 59f9043

Please sign in to comment.