blob: 47db87df8d38b33d1f316006dd47415b90c5ecd8 [file] [log] [blame]
load("@rules_java//java:defs.bzl", "java_binary", "java_library")
java_library(
name = "lib",
srcs = glob(["**/*.java"]),
visibility = ["//visibility:public"],
deps = [
"//java/com/google/gitiles:servlet",
"//lib:guava",
"//lib:guava-failureaccess",
"//lib:html-types",
"//lib:servlet-api_3_0",
"//lib/jetty:server",
"//lib/jetty:servlet",
"//lib/jgit",
"//lib/jgit:jgit-servlet",
"//lib/slf4j:slf4j-api",
"//lib/slf4j:slf4j-simple",
"//lib/soy",
],
)
java_binary(
name = "dev",
main_class = "com.google.gitiles.dev.Main",
runtime_deps = [":lib"],
)