blob: fe07794b870a6fe315b3f0bb95139a7c2da05fe1 [file] [log] [blame]
load("@rules_java//java:defs.bzl", "java_library")
java_library(
name = "servlet",
data = ["//lib:LICENSE-Apache2.0"],
visibility = ["//visibility:public"],
exports = ["@jetty-servlet//jar"],
runtime_deps = [":security"],
)
java_library(
name = "security",
data = ["//lib:LICENSE-Apache2.0"],
visibility = ["//visibility:public"],
exports = ["@jetty-security//jar"],
runtime_deps = [":server"],
)
java_library(
name = "server",
data = ["//lib:LICENSE-Apache2.0"],
visibility = ["//visibility:public"],
exports = [
":http",
"@jetty-server//jar",
],
)
java_library(
name = "jmx",
data = ["//lib:LICENSE-Apache2.0"],
visibility = ["//visibility:public"],
exports = [
":http",
"@jetty-jmx//jar",
],
)
java_library(
name = "http",
data = ["//lib:LICENSE-Apache2.0"],
visibility = ["//visibility:public"],
exports = [
":io",
"@jetty-http//jar",
],
)
java_library(
name = "io",
data = ["//lib:LICENSE-Apache2.0"],
exports = [
":util",
"@jetty-io//jar",
],
)
java_library(
name = "util",
data = ["//lib:LICENSE-Apache2.0"],
exports = ["@jetty-util//jar"],
)