blob: 72caf401a7c226e11fca3f53c2ea51bade581909 [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:jgit",
"//lib:jgit-servlet",
"//lib:servlet-api",
"//lib:slf4j-api",
"//lib:slf4j-simple",
"//lib/jetty:server",
"//lib/jetty:servlet",
"//lib/soy",
],
)
java_binary(
name = "dev",
main_class = "com.google.gitiles.dev.Main",
runtime_deps = [":lib"],
)