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

java_library(
    name = "javascript",
    testonly = 1,
    srcs = glob(["*.java"]),
    visibility = ["//javascript:__subpackages__"],
    deps = [
        "//java/src/org/openqa/selenium:core",
        "//java/test/org/openqa/selenium/build",
        "//java/test/org/openqa/selenium/environment",
        "//java/test/org/openqa/selenium/testing:test-base",
        "//java/test/org/openqa/selenium/testing/drivers",
        artifact("com.google.guava:guava"),
        artifact("org.junit.jupiter:junit-jupiter-api"),
        artifact("org.assertj:assertj-core"),
    ] + JUNIT5_DEPS,
)
