diff --git a/MODULE.bazel b/MODULE.bazel index 3ccde8e6..ab95b434 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -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( diff --git a/scalatests/com/google/testing/web/BUILD.bazel b/scalatests/com/google/testing/web/BUILD.bazel index 3f92a2b6..a7b7c5c0 100644 --- a/scalatests/com/google/testing/web/BUILD.bazel +++ b/scalatests/com/google/testing/web/BUILD.bazel @@ -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", ], )