load("@rules_jvm_external//:defs.bzl", "artifact")
load("//java:defs.bzl", "java_library")

java_library(
    name = "relay",
    srcs = glob(["*.java"]),
    visibility = [
        "//java/src/org/openqa/selenium/grid/node/local:__pkg__",
        "//java/test/org/openqa/selenium/grid/node/relay:__pkg__",
    ],
    deps = [
        "//java:auto-service",
        "//java/src/org/openqa/selenium/grid/config",
        "//java/src/org/openqa/selenium/grid/data",
        "//java/src/org/openqa/selenium/grid/node",
        "//java/src/org/openqa/selenium/json",
        "//java/src/org/openqa/selenium/remote",
        artifact("com.beust:jcommander"),
        artifact("com.google.guava:guava"),
    ],
)
