blob: 641738597de2f38ba0cb1e89f8e3074b32ba18e8 [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 = [
":continuation",
":http",
"@jetty-server//jar",
],
)
java_library(
name = "jmx",
data = ["//lib:LICENSE-Apache2.0"],
visibility = ["//visibility:public"],
exports = [
":continuation",
":http",
"@jetty-jmx//jar",
],
)
java_library(
name = "continuation",
data = ["//lib:LICENSE-Apache2.0"],
visibility = ["//visibility:public"],
exports = ["@jetty-continuation//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"],
)